public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger>
UnsignedInteger class.| Modifier and Type | Field and Description |
|---|---|
static UnsignedInteger |
MAX_VALUE |
static UnsignedInteger |
ONE |
static UnsignedInteger |
ZERO |
| Constructor and Description |
|---|
UnsignedInteger(int underlying) |
| Modifier and Type | Method and Description |
|---|---|
UnsignedInteger |
add(UnsignedInteger i) |
int |
compareTo(UnsignedInteger o) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
UnsignedInteger |
subtract(UnsignedInteger i) |
String |
toString() |
static UnsignedInteger |
valueOf(int underlying) |
static UnsignedInteger |
valueOf(long longVal) |
static UnsignedInteger |
valueOf(String value) |
byteValue, shortValuepublic static final UnsignedInteger MAX_VALUE
public static final UnsignedInteger ZERO
public static final UnsignedInteger ONE
public static UnsignedInteger valueOf(int underlying)
public static UnsignedInteger valueOf(String value)
public static UnsignedInteger valueOf(long longVal)
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int compareTo(UnsignedInteger o)
compareTo in interface Comparable<UnsignedInteger>public UnsignedInteger add(UnsignedInteger i)
public UnsignedInteger subtract(UnsignedInteger i)
Copyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.