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.NumberFormatException
public UnsignedInteger64(byte[] bval) throws java.lang.NumberFormatException
bval
- java.lang.NumberFormatException
public UnsignedInteger64(java.math.BigInteger input)
input
- java.lang.NumberFormatException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- public java.math.BigInteger bigIntValue()
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public int compareTo(java.lang.Object val)
compareTo
in interface java.lang.Comparable
val
- public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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.