E
- The type of elementpublic interface MutableBoundedValue<E> extends BoundedValue<E>, Value<E>
BoundedValue
that is modifiable as a Value
.Modifier and Type | Method and Description |
---|---|
ImmutableBoundedValue<E> |
asImmutable()
Gets the
ImmutableValue version of this Value such that
all data is duplicated across to the new ImmutableValue . |
MutableBoundedValue<E> |
copy()
Makes an independent copy of this
Value with the same initial
data. |
getComparator, getMaxValue, getMinValue
ImmutableBoundedValue<E> asImmutable()
Value
ImmutableValue
version of this Value
such that
all data is duplicated across to the new ImmutableValue
. Note
that once created, the ImmutableValue
is not going to change.asImmutable
in interface Value<E>
ImmutableValue
instance