- java.lang.Object
-
- org.ojalgo.type.PrimitiveNumber.BoxedInt
-
- All Implemented Interfaces:
java.lang.Comparable<PrimitiveNumber>,ComparableNumber<PrimitiveNumber>,NumberDefinition,PrimitiveNumber
- Enclosing interface:
- PrimitiveNumber
public static class PrimitiveNumber.BoxedInt 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 intvalue
-
Constructor Summary
Constructors Constructor Description BoxedInt(int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PrimitiveNumber other)doubledoubleValue()floatfloatValue()intintValue()longlongValue()-
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, shortValue
-
-
-
-
Method Detail
-
compareTo
public int compareTo(PrimitiveNumber other)
- Specified by:
compareToin interfacejava.lang.Comparable<PrimitiveNumber>
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein interfaceNumberDefinition
-
floatValue
public float floatValue()
- Specified by:
floatValuein interfaceNumberDefinition
-
intValue
public int intValue()
- Specified by:
intValuein interfaceNumberDefinition
-
longValue
public long longValue()
- Specified by:
longValuein interfaceNumberDefinition
-
-