com.sshtools.j2ssh.io

Class UnsignedInteger32

Implemented Interfaces:
Serializable

public class UnsignedInteger32
extends Number
implements Serializable

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

Field Summary

static long
MAX_VALUE
static long
MIN_VALUE

Constructor Summary

UnsignedInteger32(String a)
Creates a new UnsignedInteger32 object.
UnsignedInteger32(long a)
Creates a new UnsignedInteger32 object.

Method Summary

static UnsignedInteger32
add(UnsignedInteger32 x, UnsignedInteger32 y)
static UnsignedInteger32
add(UnsignedInteger32 x, int y)
byte
byteValue()
double
doubleValue()
boolean
equals(Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
short
shortValue()
String
toString()

Field Details

MAX_VALUE

public static final long MAX_VALUE
Field Value:
4294967295L

MIN_VALUE

public static final long MIN_VALUE
Field Value:
0L

Constructor Details

UnsignedInteger32

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

UnsignedInteger32

public UnsignedInteger32(long a)
Creates a new UnsignedInteger32 object.
Parameters:
a -

Method Details

add

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

add

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

byteValue

public byte byteValue()
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:

shortValue

public short shortValue()
Returns:

toString

public String toString()
Returns:

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