Package ome.xml.model.primitives
Class NonNegativeFloat
- All Implemented Interfaces:
PrimitiveNumber
- Direct Known Subclasses:
PositiveFloat
A float whose constraints are bound to Java's 64-bit float (double) and a
further non-negative restriction.
- Author:
- callan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NonNegativeFloatReturns anNonNegativeFloatobject holding the value of the specified string.Methods inherited from class ome.xml.model.primitives.PrimitiveType
equals, getValue, toString
-
Constructor Details
-
NonNegativeFloat
-
-
Method Details
-
getNumberValue
- Specified by:
getNumberValuein interfacePrimitiveNumber
-
valueOf
Returns anNonNegativeFloatobject holding the value of the specified string.- Parameters:
s- The string to be parsed.- Returns:
- See above.
-