public final class UnsignedShort extends java.lang.Number implements java.lang.Comparable<UnsignedShort>
Modifier and Type | Field and Description |
---|---|
static UnsignedShort |
MAX_VALUE |
Constructor and Description |
---|
UnsignedShort(short underlying) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UnsignedShort o) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
short |
shortValue() |
java.lang.String |
toString() |
static UnsignedShort |
valueOf(short underlying) |
static UnsignedShort |
valueOf(java.lang.String value) |
public static final UnsignedShort MAX_VALUE
public short shortValue()
shortValue
in class java.lang.Number
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(UnsignedShort o)
compareTo
in interface java.lang.Comparable<UnsignedShort>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static UnsignedShort valueOf(short underlying)
public static UnsignedShort valueOf(java.lang.String value)