public interface NormalizableRange<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
NormalizableRange.DefaultRange
Returns the maximum value of the NormalizableRange.
|
| Modifier and Type | Field and Description |
|---|---|
static NormalizableRange.DefaultRange |
NORMALIZED_RANGE |
| Modifier and Type | Method and Description |
|---|---|
T |
denormalizeValue(NormalizedDouble v)
Denormalizes a NormalizedDouble to a value within this NormalizableRange.
|
T |
getMax()
Returns the minimum value of the NormalizableRange.
|
T |
getMin() |
boolean |
isValid(T t)
Returns true if t is within the NormalizableRange.
|
NormalizedDouble |
normalizeValue(T t)
Normalizes a value within the NormalizableRange.
|
static final NormalizableRange.DefaultRange NORMALIZED_RANGE
boolean isValid(T t)
t - value to checkNormalizedDouble normalizeValue(T t)
t - value to normalizeT denormalizeValue(NormalizedDouble v)
v - value to denormalizeT getMin()
T getMax()
Copyright © 2011-2014. All Rights Reserved.