public class UnsignedInteger64
extends java.lang.Number
implements java.io.Serializable, java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
static java.math.BigInteger |
MAX_VALUE |
static java.math.BigInteger |
MIN_VALUE |
| Constructor and Description |
|---|
UnsignedInteger64(java.math.BigInteger input)
Creates a new UnsignedInteger64 object.
|
UnsignedInteger64(byte[] bval)
Creates a new UnsignedInteger64 object.
|
UnsignedInteger64(java.lang.String sval)
Creates a new UnsignedInteger64 object.
|
| Modifier and Type | Method and Description |
|---|---|
static UnsignedInteger64 |
add(UnsignedInteger64 x,
int y) |
static UnsignedInteger64 |
add(UnsignedInteger64 x,
UnsignedInteger64 y) |
java.math.BigInteger |
bigIntValue() |
int |
compareTo(java.lang.Object val) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
public static final java.math.BigInteger MAX_VALUE
public static final java.math.BigInteger MIN_VALUE
public UnsignedInteger64(java.lang.String sval)
throws java.lang.NumberFormatException
sval - java.lang.NumberFormatExceptionpublic UnsignedInteger64(byte[] bval)
throws java.lang.NumberFormatException
bval - java.lang.NumberFormatExceptionpublic UnsignedInteger64(java.math.BigInteger input)
input - java.lang.NumberFormatExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - public java.math.BigInteger bigIntValue()
public int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic int compareTo(java.lang.Object val)
compareTo in interface java.lang.Comparableval - public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static UnsignedInteger64 add(UnsignedInteger64 x, UnsignedInteger64 y)
x - y - public static UnsignedInteger64 add(UnsignedInteger64 x, int y)
x - y - Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.