Interface AgeRange
-
public interface AgeRangeKey ofAgeTile.Age range contains lower bound `from` and upper bound `to`. Both of them are inclusive boundary.
And un-identified friends aggregated inUNKNOWNkey.UNKNOWNkey is immutable singleton instance. You can check equal toUNKNOWNby==or#equals.- See Also:
AgeTile.getAge()
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.OptionalIntgetFrom()Start of age range.java.lang.StringgetJsonRawValue()java.util.OptionalIntgetTo()End of age range.static AgeRangevalueOf(java.lang.String value)
-
-
-
Field Detail
-
UNKNOWN
static final AgeRange UNKNOWN
Unknown identifier of AgeRange.This instance is immutable and singleton. You can check equal to
UNKNOWNby==or#equals.
-
-
Method Detail
-
valueOf
static AgeRange valueOf(java.lang.String value)
-
getFrom
java.util.OptionalInt getFrom()
Start of age range. Inclusive.- Returns:
- Start of age range. Inclusive. null iff UNKNOWN range.
-
getTo
java.util.OptionalInt getTo()
End of age range. Inclusive.- Returns:
- End of age range. Exclusive. null if UNKNOWN or last (<∞) range .
-
getJsonRawValue
java.lang.String getJsonRawValue()
-
-