Package com.sshtools.j2ssh.io
Class UnsignedInteger32
java.lang.Object
java.lang.Number
com.sshtools.j2ssh.io.UnsignedInteger32
- All Implemented Interfaces:
Serializable
- Version:
- $Revision: 1.14 $
- Author:
- $author$
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnsignedInteger32
(long a) Creates a new UnsignedInteger32 object.Creates a new UnsignedInteger32 object. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnsignedInteger32
add
(UnsignedInteger32 x, int y) static UnsignedInteger32
byte
double
boolean
float
int
hashCode()
int
intValue()
long
short
toString()
-
Field Details
-
MAX_VALUE
public static final long MAX_VALUE- See Also:
-
MIN_VALUE
public static final long MIN_VALUE- See Also:
-
-
Constructor Details
-
UnsignedInteger32
public UnsignedInteger32(long a) Creates a new UnsignedInteger32 object.- Parameters:
a
-- Throws:
NumberFormatException
-
UnsignedInteger32
Creates a new UnsignedInteger32 object.- Parameters:
a
-- Throws:
NumberFormatException
-
-
Method Details
-
byteValue
public byte byteValue() -
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
- Returns:
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
- Returns:
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
- Returns:
-
toString
-
hashCode
public int hashCode() -
equals
-
add
- Parameters:
x
-y
-- Returns:
-
add
- Parameters:
x
-y
-- Returns:
-