public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger>
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, shortValue
public static final UnsignedInteger ZERO
public static final UnsignedInteger ONE
public static final UnsignedInteger MAX_VALUE
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(UnsignedInteger o)
compareTo
in interface Comparable<UnsignedInteger>
public static UnsignedInteger valueOf(int underlying)
public UnsignedInteger add(UnsignedInteger i)
public UnsignedInteger subtract(UnsignedInteger i)
public static UnsignedInteger valueOf(String value)
public static UnsignedInteger valueOf(long longVal)
Copyright © 2016 The Apache Software Foundation. All rights reserved.