Package org.ojalgo.type
Class PrimitiveNumber.BoxedFloat
- java.lang.Object
-
- org.ojalgo.type.PrimitiveNumber.BoxedFloat
-
- All Implemented Interfaces:
java.lang.Comparable<PrimitiveNumber>
,ComparableNumber<PrimitiveNumber>
,NumberDefinition
,PrimitiveNumber
- Enclosing interface:
- PrimitiveNumber
public static class PrimitiveNumber.BoxedFloat extends java.lang.Object implements PrimitiveNumber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.type.PrimitiveNumber
PrimitiveNumber.BoxedByte, PrimitiveNumber.BoxedDouble, PrimitiveNumber.BoxedFloat, PrimitiveNumber.BoxedInt, PrimitiveNumber.BoxedLong, PrimitiveNumber.BoxedShort
-
-
Field Summary
Fields Modifier and Type Field Description float
value
-
Constructor Summary
Constructors Constructor Description BoxedFloat(float value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PrimitiveNumber other)
double
doubleValue()
float
floatValue()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.type.NumberDefinition
booleanValue, byteValue, intValue, longValue, shortValue
-
-
-
-
Method Detail
-
compareTo
public int compareTo(PrimitiveNumber other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PrimitiveNumber>
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in interfaceNumberDefinition
-
floatValue
public float floatValue()
- Specified by:
floatValue
in interfaceNumberDefinition
-
-