T
- The type of comparable elementI
- The immutable data manipulator typeM
- The mutable data manipulator typepublic abstract class AbstractImmutableBoundedComparableData<T extends Comparable<T>,I extends ImmutableDataManipulator<I,M>,M extends DataManipulator<M,I>> extends AbstractImmutableSingleData<T,I,M>
ImmutableDataManipulator
that focuses solely on an
ImmutableBoundedValue
as it's Value
return type.Modifier and Type | Field and Description |
---|---|
protected Comparator<T> |
comparator |
protected T |
defaultValue |
protected T |
lowerBound |
protected T |
upperBound |
usedKey, value
Modifier | Constructor and Description |
---|---|
protected |
AbstractImmutableBoundedComparableData(Key<MutableBoundedValue<T>> usedKey,
T value,
T lowerBound,
T upperBound,
Comparator<T> comparator) |
protected |
AbstractImmutableBoundedComparableData(Key<MutableBoundedValue<T>> usedKey,
T value,
T defaultValue,
T lowerBound,
T upperBound,
Comparator<T> comparator) |
protected |
AbstractImmutableBoundedComparableData(T value,
Key<MutableBoundedValue<T>> usedKey,
Comparator<T> comparator,
T lowerBound,
T upperBound,
T defaultValue)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected ImmutableBoundedValue<T> |
getValueGetter() |
int |
hashCode() |
asMutable, get, getKeys, getValue, registerGetters, supports
copy, fillContainer, getValue, getValues, registerFieldGetter, registerKeyValue, toContainer
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
with, with
getContentVersion
getOrElse, getOrNull, require, supports
protected final Comparator<T extends Comparable<T>> comparator
protected final T extends Comparable<T> lowerBound
protected final T extends Comparable<T> upperBound
protected final T extends Comparable<T> defaultValue
@Deprecated protected AbstractImmutableBoundedComparableData(T value, Key<MutableBoundedValue<T>> usedKey, Comparator<T> comparator, T lowerBound, T upperBound, T defaultValue)
protected AbstractImmutableBoundedComparableData(Key<MutableBoundedValue<T>> usedKey, T value, T lowerBound, T upperBound, Comparator<T> comparator)
protected AbstractImmutableBoundedComparableData(Key<MutableBoundedValue<T>> usedKey, T value, T defaultValue, T lowerBound, T upperBound, Comparator<T> comparator)
protected final ImmutableBoundedValue<T> getValueGetter()
getValueGetter
in class AbstractImmutableSingleData<T extends Comparable<T>,I extends ImmutableDataManipulator<I,M>,M extends DataManipulator<M,I>>
public int hashCode()
hashCode
in class AbstractImmutableSingleData<T extends Comparable<T>,I extends ImmutableDataManipulator<I,M>,M extends DataManipulator<M,I>>
public boolean equals(Object obj)
equals
in class AbstractImmutableSingleData<T extends Comparable<T>,I extends ImmutableDataManipulator<I,M>,M extends DataManipulator<M,I>>