Package ome.xml.model.primitives
Class NonNegativeFloat
- java.lang.Object
-
- ome.xml.model.primitives.PrimitiveType<Double>
-
- ome.xml.model.primitives.NonNegativeFloat
-
- All Implemented Interfaces:
PrimitiveNumber
- Direct Known Subclasses:
PositiveFloat
public class NonNegativeFloat extends PrimitiveType<Double> implements PrimitiveNumber
A float whose constraints are bound to Java's 64-bit float (double) and a further non-negative restriction.- Author:
- callan
-
-
Constructor Summary
Constructors Constructor Description NonNegativeFloat(Double value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
getNumberValue()
static NonNegativeFloat
valueOf(String s)
Returns anNonNegativeFloat
object holding the value of the specified string.-
Methods inherited from class ome.xml.model.primitives.PrimitiveType
equals, getValue, toString
-
-
-
-
Constructor Detail
-
NonNegativeFloat
public NonNegativeFloat(Double value)
-
-
Method Detail
-
getNumberValue
public Number getNumberValue()
- Specified by:
getNumberValue
in interfacePrimitiveNumber
-
valueOf
public static NonNegativeFloat valueOf(String s)
Returns anNonNegativeFloat
object holding the value of the specified string.- Parameters:
s
- The string to be parsed.- Returns:
- See above.
-
-