Package gnu.math
Class UByte
- java.lang.Object
-
- java.lang.Number
-
- gnu.math.UnsignedPrim
-
- gnu.math.UByte
-
- All Implemented Interfaces:
Serializable
,Comparable<UByte>
public class UByte extends UnsignedPrim implements Comparable<UByte>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UByte(byte ival)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(UByte other)
boolean
equals(Object obj)
int
intValue()
int
numBits()
IntNum
toIntNum()
String
toString()
static String
toString(byte ival)
static UByte
valueOf(byte ival)
-
Methods inherited from class gnu.math.UnsignedPrim
doubleValue, floatValue, hashCode, longValue
-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
-
-
-
Method Detail
-
numBits
public int numBits()
- Specified by:
numBits
in classUnsignedPrim
-
valueOf
public static UByte valueOf(byte ival)
-
toIntNum
public IntNum toIntNum()
- Overrides:
toIntNum
in classUnsignedPrim
-
compareTo
public int compareTo(UByte other)
- Specified by:
compareTo
in interfaceComparable<UByte>
-
toString
public static String toString(byte ival)
-
-