Package org.ojalgo.type
Class PrimitiveNumber.BoxedShort
java.lang.Object
org.ojalgo.type.PrimitiveNumber.BoxedShort
- All Implemented Interfaces:
Comparable<PrimitiveNumber>
,ComparableNumber<PrimitiveNumber>
,NumberDefinition
,PrimitiveNumber
- Enclosing interface:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PrimitiveNumber other) double
float
int
intValue()
long
short
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
-
Field Details
-
value
public final short value
-
-
Constructor Details
-
BoxedShort
BoxedShort(short value)
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<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
-