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 intcompareTo(UByte other)booleanequals(Object obj)intintValue()intnumBits()IntNumtoIntNum()StringtoString()static StringtoString(byte ival)static UBytevalueOf(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:
numBitsin classUnsignedPrim
-
valueOf
public static UByte valueOf(byte ival)
-
toIntNum
public IntNum toIntNum()
- Overrides:
toIntNumin classUnsignedPrim
-
compareTo
public int compareTo(UByte other)
- Specified by:
compareToin interfaceComparable<UByte>
-
toString
public static String toString(byte ival)
-
-