org.xbig.base
Class ULongLong
java.lang.Object
org.xbig.base.ULongLong
public class ULongLong
- extends java.lang.Object
To represent the C++ data type "unsigned long long"
|
Field Summary |
static java.math.BigInteger |
MAX_VALUE
C++ type "unsigned long long" covers (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807);
Java type "long" covers (0 to 18,446,744,073,709,551,615);
shiftedValue contains the real value minus 9,223,372,036,854,775,808 |
static java.math.BigInteger |
MIN_VALUE
|
static java.math.BigInteger |
SHIFT_VALUE
|
|
Constructor Summary |
ULongLong(java.math.BigInteger uLongLongValue)
|
ULongLong(long shiftedValue)
|
ULongLong(java.lang.String uLongLongValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAX_VALUE
public static java.math.BigInteger MAX_VALUE
- C++ type "unsigned long long" covers (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807);
Java type "long" covers (0 to 18,446,744,073,709,551,615);
shiftedValue contains the real value minus 9,223,372,036,854,775,808
MIN_VALUE
public static java.math.BigInteger MIN_VALUE
SHIFT_VALUE
public static java.math.BigInteger SHIFT_VALUE
ULongLong
public ULongLong(java.lang.String uLongLongValue)
ULongLong
public ULongLong(java.math.BigInteger uLongLongValue)
ULongLong
public ULongLong(long shiftedValue)
getShiftedValue
public long getShiftedValue()
equals
public boolean equals(ULongLong x)
add
public ULongLong add(ULongLong x)
subtract
public ULongLong subtract(ULongLong x)
divide
public ULongLong divide(ULongLong x)
multiply
public ULongLong multiply(ULongLong x)
compareTo
public int compareTo(ULongLong x)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2007 netAllied GmbH. All Rights Reserved.