com.sshtools.j2ssh.io

Class UnsignedInteger64

Implemented Interfaces:
Comparable, Serializable

public class UnsignedInteger64
extends Number
implements Serializable, Comparable

Version:
$Revision: 1.14 $
Author:
$author$

Field Summary

static BigInteger
MAX_VALUE
static BigInteger
MIN_VALUE

Constructor Summary

UnsignedInteger64(BigInteger input)
Creates a new UnsignedInteger64 object.
UnsignedInteger64(String sval)
Creates a new UnsignedInteger64 object.
UnsignedInteger64(byte[] bval)
Creates a new UnsignedInteger64 object.

Method Summary

static UnsignedInteger64
add(UnsignedInteger64 x, UnsignedInteger64 y)
static UnsignedInteger64
add(UnsignedInteger64 x, int y)
BigInteger
bigIntValue()
int
compareTo(Object val)
double
doubleValue()
boolean
equals(Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
String
toString()

Field Details

MAX_VALUE

public static final BigInteger MAX_VALUE

MIN_VALUE

public static final BigInteger MIN_VALUE

Constructor Details

UnsignedInteger64

public UnsignedInteger64(BigInteger input)
Creates a new UnsignedInteger64 object.
Parameters:
input -

UnsignedInteger64

public UnsignedInteger64(String sval)
            throws NumberFormatException
Creates a new UnsignedInteger64 object.
Parameters:
sval -

UnsignedInteger64

public UnsignedInteger64(byte[] bval)
            throws NumberFormatException
Creates a new UnsignedInteger64 object.
Parameters:
bval -

Method Details

add

public static UnsignedInteger64 add(UnsignedInteger64 x,
                                    UnsignedInteger64 y)
Parameters:
x -
y -
Returns:

add

public static UnsignedInteger64 add(UnsignedInteger64 x,
                                    int y)
Parameters:
x -
y -
Returns:

bigIntValue

public BigInteger bigIntValue()
Returns:

compareTo

public int compareTo(Object val)
Parameters:
val -
Returns:

doubleValue

public double doubleValue()
Returns:

equals

public boolean equals(Object o)
Parameters:
o -
Returns:

floatValue

public float floatValue()
Returns:

hashCode

public int hashCode()
Returns:

intValue

public int intValue()
Returns:

longValue

public long longValue()
Returns:

toString

public String toString()
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.