Package org.ojalgo.type
Class PrimitiveNumber.BoxedShort
- java.lang.Object
-
- org.ojalgo.type.PrimitiveNumber.BoxedShort
-
- All Implemented Interfaces:
java.lang.Comparable<PrimitiveNumber>
,ComparableNumber<PrimitiveNumber>
,NumberDefinition
,PrimitiveNumber
- Enclosing interface:
- PrimitiveNumber
public static class PrimitiveNumber.BoxedShort 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 short
value
-
Constructor Summary
Constructors Constructor Description BoxedShort(short value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PrimitiveNumber other)
double
doubleValue()
float
floatValue()
int
intValue()
long
longValue()
short
shortValue()
-
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
-
-
-
-
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
-
intValue
public int intValue()
- Specified by:
intValue
in interfaceNumberDefinition
-
longValue
public long longValue()
- Specified by:
longValue
in interfaceNumberDefinition
-
shortValue
public short shortValue()
- Specified by:
shortValue
in interfaceNumberDefinition
-
-