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