インタフェース AgeRange


public interface AgeRange
Key of AgeTile.

Age range contains lower bound `from` and upper bound `to`. Both of them are inclusive boundary.

And un-identified friends aggregated in UNKNOWN key. UNKNOWN key is immutable singleton instance. You can check equal to UNKNOWN by == or #equals.
関連項目:
AgeTile.getAge()
  • フィールドの概要

    フィールド
    修飾子とタイプ フィールド 説明
    static AgeRange UNKNOWN
    Unknown identifier of AgeRange.
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    java.util.OptionalInt getFrom()
    Start of age range.
    java.lang.String getJsonRawValue()  
    java.util.OptionalInt getTo()
    End of age range.
    static AgeRange valueOf​(java.lang.String value)  
  • フィールド詳細

    • UNKNOWN

      static final AgeRange UNKNOWN
      Unknown identifier of AgeRange.

      This instance is immutable and singleton. You can check equal to UNKNOWN by == or #equals.

  • メソッドの詳細

    • valueOf

      static AgeRange valueOf​(java.lang.String value)
    • getFrom

      java.util.OptionalInt getFrom()
      Start of age range. Inclusive.
      戻り値:
      Start of age range. Inclusive. null iff UNKNOWN range.
    • getTo

      java.util.OptionalInt getTo()
      End of age range. Inclusive.
      戻り値:
      End of age range. Exclusive. null if UNKNOWN or last (<∞) range .
    • getJsonRawValue

      java.lang.String getJsonRawValue()