public final class UnsignedShort extends Number implements Comparable<UnsignedShort>
UnsignedShort class.| 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(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
short |
shortValue() |
String |
toString() |
static UnsignedShort |
valueOf(short underlying) |
static UnsignedShort |
valueOf(String value) |
public static final UnsignedShort MAX_VALUE
public static UnsignedShort valueOf(short underlying)
public static UnsignedShort valueOf(String value)
public short shortValue()
shortValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int compareTo(UnsignedShort o)
compareTo in interface Comparable<UnsignedShort>Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.