Package com.sshtools.j2ssh.io
Class UnsignedInteger64
java.lang.Object
java.lang.Number
com.sshtools.j2ssh.io.UnsignedInteger64
- All Implemented Interfaces:
Serializable,Comparable
- Version:
- $Revision: 1.14 $
- Author:
- $author$
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnsignedInteger64(byte[] bval) Creates a new UnsignedInteger64 object.UnsignedInteger64(String sval) Creates a new UnsignedInteger64 object.UnsignedInteger64(BigInteger input) Creates a new UnsignedInteger64 object. -
Method Summary
Modifier and TypeMethodDescriptionstatic UnsignedInteger64add(UnsignedInteger64 x, int y) static UnsignedInteger64intdoublebooleanfloatinthashCode()intintValue()longtoString()Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
MAX_VALUE
-
MIN_VALUE
-
-
Constructor Details
-
UnsignedInteger64
Creates a new UnsignedInteger64 object.- Parameters:
sval-- Throws:
NumberFormatException
-
UnsignedInteger64
Creates a new UnsignedInteger64 object.- Parameters:
bval-- Throws:
NumberFormatException
-
UnsignedInteger64
Creates a new UnsignedInteger64 object.- Parameters:
input-- Throws:
NumberFormatException
-
-
Method Details
-
equals
-
bigIntValue
- Returns:
-
intValue
public int intValue() -
longValue
public long longValue() -
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber- Returns:
-
floatValue
public float floatValue()- Specified by:
floatValuein classNumber- Returns:
-
compareTo
- Specified by:
compareToin interfaceComparable- Parameters:
val-- Returns:
-
toString
-
hashCode
public int hashCode() -
add
- Parameters:
x-y-- Returns:
-
add
- Parameters:
x-y-- Returns:
-