public interface AgeableData extends DataManipulator<AgeableData,ImmutableAgeableData>
Modifier and Type | Method and Description |
---|---|
Value<Boolean> |
adult()
|
MutableBoundedValue<Integer> |
age()
Gets the
MutableBoundedValue for the "age" state. |
Value<Boolean> |
baby()
|
asImmutable, copy, fill, fill, from, set, set, set, set, transform
compareTo
toContainer
MutableBoundedValue<Integer> age()
MutableBoundedValue
for the "age" state.Value<Boolean> baby()
Value
for whether the age()
is
considered to be a "baby". If the value is false, adult()
should be true
and vice versa.