public final class UnsignedLong extends Number implements Comparable<UnsignedLong>
Modifier and Type | Field and Description |
---|---|
static UnsignedLong |
ONE |
static UnsignedLong |
ZERO |
Constructor and Description |
---|
UnsignedLong(long underlying) |
Modifier and Type | Method and Description |
---|---|
UnsignedLong |
add(UnsignedLong unsignedLong) |
BigInteger |
bigIntegerValue() |
int |
compareTo(UnsignedLong o) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
String |
toString() |
static UnsignedLong |
valueOf(long underlying) |
static UnsignedLong |
valueOf(String value) |
byteValue, shortValue
public static final UnsignedLong ZERO
public static final UnsignedLong ONE
public BigInteger bigIntegerValue()
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(UnsignedLong o)
compareTo
in interface Comparable<UnsignedLong>
public static UnsignedLong valueOf(long underlying)
public static UnsignedLong valueOf(String value)
public UnsignedLong add(UnsignedLong unsignedLong)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.