public class DoubleContent extends FloatingPointContent
Proxied.Abstract| Constructor and Description |
|---|
DoubleContent() |
| Modifier and Type | Method and Description |
|---|---|
Double |
decode(PointValue pointValue)
Decodes the value of a point value.
|
Double |
denormalize(NormalizedValue normalizedValue)
Denormalizes the value of a point value.
|
protected Double |
getDouble(PointValue pointValue)
Gets a Double object from the value.
|
Double |
normalize(PointValue pointValue)
Normalizes the value of a point value.
|
encode, getInstance, warnBadValuegetMetadata, getName, getParams, getProxyEntity, getThisLogger, setUp, tearDownpublic final Double decode(PointValue pointValue)
Converts from an external representation to an internal representation.
decode in interface Contentdecode in class AbstractContentpointValue - The point value associated with the value to decode.public Double denormalize(NormalizedValue normalizedValue)
Converts from an internal unit to an external unit.
denormalize in interface Contentdenormalize in class AbstractContentnormalizedValue - The point value associated with the value to be
denormalized.public Double normalize(PointValue pointValue)
Converts from an external unit to an internal unit.
normalize in interface Contentnormalize in class AbstractContentpointValue - The point value associated with the value to be
normalized.@Nullable
@CheckReturnValue
protected final Double getDouble(@Nonnull
PointValue pointValue)
pointValue - The point value holding the value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.