Package | Description |
---|---|
net.sf.mmm.util.exception.api |
Provides the API for utilities that help to deal with exceptions.
|
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 <V> void |
ValueOutOfRangeException.checkRange(V value,
V minimum,
V maximum,
Object valueSource)
This method checks that the given
value is in the inclusive range from minimum to
maximum . |
Modifier and Type | Method and Description |
---|---|
<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) |
<TARGET extends Number> |
AbstractGenericValueConverter.convertValue(SOURCE value,
Object valueSource,
TARGET minimum,
TARGET maximum,
TARGET defaultValue) |
Copyright © 2001–2016 mmm-Team. All rights reserved.