Package ome.xml.model.primitives
Class PercentFraction
- All Implemented Interfaces:
PrimitiveNumber
A floating point value whose constraints are bound to Java's 32-bit floating
point type and a further 0.0f minimum and 1.0f maximum.
- Author:
- callan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PercentFractionReturns anPercentFractionobject holding the value of the specified string.Methods inherited from class ome.xml.model.primitives.PrimitiveType
equals, getValue, toString
-
Constructor Details
-
PercentFraction
-
-
Method Details
-
getNumberValue
- Specified by:
getNumberValuein interfacePrimitiveNumber
-
valueOf
Returns anPercentFractionobject holding the value of the specified string.- Parameters:
s- The string to be parsed.- Returns:
- See above.
-