static <U,T extends Comparable<T>> IConstraint<U> |
ComparableConstraint.constrain(IConstraint<U> constraint,
String persistedMin,
String persistedMax) |
|
ITypedQuantity<LinearUnit> |
LinearUnit.customParseInteractive(String interactiveQuantity) |
|
String |
ComparableConstraint.interactiveFormat(T value) |
|
String |
IConstraint.interactiveFormat(T value) |
An exact string representation taking locale and internationalization into account.
|
long |
IQuantity.longValueIn(IUnit targetUnit) |
Get the numerical quantity value that this quantity would have if expressed in the unit
targetUnit , rounded to a mathematical integer, if that numerical value can be
represented in a long .
|
long |
IQuantity.longValueIn(IUnit targetUnit,
long maxAbsValue) |
Get the numerical quantity value that this quantity would have if expressed in the unit
targetUnit , rounded to a mathematical integer, if that numerical value is in the
range [-maxAbsValue-1, maxAbsValue] .
|
T |
ComparableConstraint.parseInteractive(String interactiveValue) |
|
T |
IConstraint.parseInteractive(String interactiveValue) |
Parse an interactive string.
|
abstract ITypedQuantity<U> |
KindOfQuantity.parseInteractive(String interactiveQuantity) |
Parse an interactive string.
|
ITypedQuantity<LinearUnit> |
LinearKindOfQuantity.parseInteractive(String interactiveQuantity) |
|
ITypedQuantity<LinearUnit> |
LinearKindOfQuantity.parseInteractive(String interactiveQuantity,
Map<String,? extends LinearUnit> symbolToUnitMap) |
|
T |
WrappingPersister.parseInteractive(String interactiveValue) |
|
T |
ComparableConstraint.parsePersisted(String persistedValue) |
|
T |
IConstraint.parsePersisted(String persistedValue) |
Parse a persisted string.
|
abstract ITypedQuantity<U> |
KindOfQuantity.parsePersisted(String persistedQuantity) |
Parse a persisted string.
|
ITypedQuantity<LinearUnit> |
LinearKindOfQuantity.parsePersisted(String persistedQuantity) |
|
T |
WrappingPersister.parsePersisted(String persistedValue) |
|
String |
ComparableConstraint.persistableString(T value) |
|
String |
IConstraint.persistableString(T value) |
A string representation independent of locale or internationalization, that when parsed using
IConstraint.parsePersisted(String) (on this instance) yields a result that is
equal to the given value .
|
void |
IMutableConstrainedMap.put(K key,
Object value) |
Map key to value , if allowed according to either an existing
constraint or an implicit default constraint, if available.
|
<T> void |
IMutableConstrainedMap.put(K key,
IConstraint<T> constraint,
T value) |
Map key to value , if allowed according to constraint and additional
restrictions on this map such as a conflicting constraint being in effect
for this key .
|
void |
MutableConstrainedMap.put(K key,
Object value) |
|
<T> void |
MutableConstrainedMap.put(K key,
IConstraint<T> constraint,
T value) |
|
void |
IMutableConstrainedMap.putPersistedString(K key,
String persisted) |
Map key to the value obtained by parsing persisted , if allowed according to
either an existing constraint or an implicit default constraint, if
available.
|
<T> void |
IMutableConstrainedMap.putPersistedString(K key,
IConstraint<T> constraint,
String persisted) |
Map key to the value obtained by parsing persisted , if allowed according to
constraint and additional restrictions on this map such as a conflicting
constraint being in effect for this key .
|
void |
MutableConstrainedMap.putPersistedString(K key,
String persisted) |
|
<T> void |
MutableConstrainedMap.putPersistedString(K key,
IConstraint<T> constraint,
String persisted) |
|
boolean |
ComparableConstraint.validate(T value) |
|
boolean |
IConstraint.validate(T value) |
Fundamentally, check that value satisfies this constraint and throw an exception
otherwise.
|
protected boolean |
ComparableConstraint.validateRange(T value) |
|