org.xbig.base
Class ULongLong

java.lang.Object
  extended by 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)
           
 
Method Summary
 ULongLong add(ULongLong x)
           
 int compareTo(ULongLong x)
           
 ULongLong divide(ULongLong x)
           
 boolean equals(ULongLong x)
           
 long getShiftedValue()
           
 ULongLong multiply(ULongLong x)
           
 ULongLong subtract(ULongLong x)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ULongLong

public ULongLong(java.lang.String uLongLongValue)

ULongLong

public ULongLong(java.math.BigInteger uLongLongValue)

ULongLong

public ULongLong(long shiftedValue)
Method Detail

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.