| Package | Description |
|---|---|
| net.sf.mmm.util.value.api |
Provides the API for generic handling of values.
|
| net.sf.mmm.util.value.base |
Contains the base-implementations of the
value API. |
| Modifier and Type | Method and Description |
|---|---|
static void |
ValueOutOfRangeException.checkRange(Number value,
Number minimum,
Number maximum,
Object valueSource)
This method checks that the given
value is in the inclusive range from minimum to
maximum. |
<TARGET extends Number> |
GenericValueConverter.convertValue(SOURCE value,
Object valueSource,
TARGET minimum,
TARGET maximum)
This method converts the given
value to a numeric type and also validates that it is in the
given range from minimum to maximum. |
<TARGET extends Number> |
GenericValueConverter.convertValue(SOURCE value,
Object valueSource,
TARGET minimum,
TARGET maximum,
TARGET defaultValue)
This method gets a numeric value and also validates that it is in the given range from
minimum to maximum. |
void |
Range.verifyContained(V value)
This method verifies that the given
value is contained in this range. |
| Modifier and Type | Method and Description |
|---|---|
<TARGET extends Number> |
AbstractGenericValueConverter.convertValue(SOURCE value,
Object valueSource,
TARGET minimum,
TARGET maximum)
This method converts the given
value to a numeric type and also validates that it is in the
given range from minimum to maximum. |
<TARGET extends Number> |
AbstractGenericValueConverter.convertValue(SOURCE value,
Object valueSource,
TARGET minimum,
TARGET maximum,
TARGET defaultValue)
This method gets a numeric value and also validates that it is in the given range from
minimum to maximum. |
Copyright © 2001–2015 mmm-Team. All rights reserved.