Package org.apache.qpid.proton.amqp
Class UnsignedByte
- java.lang.Object
-
- java.lang.Number
-
- org.apache.qpid.proton.amqp.UnsignedByte
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UnsignedByte>
public final class UnsignedByte extends java.lang.Number implements java.lang.Comparable<UnsignedByte>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsignedByte(byte underlying)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
byteValue()
int
compareTo(UnsignedByte o)
double
doubleValue()
boolean
equals(java.lang.Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
short
shortValue()
java.lang.String
toString()
static UnsignedByte
valueOf(byte underlying)
static UnsignedByte
valueOf(java.lang.String value)
-
-
-
Method Detail
-
byteValue
public byte byteValue()
- Overrides:
byteValue
in classjava.lang.Number
-
shortValue
public short shortValue()
- Overrides:
shortValue
in classjava.lang.Number
-
intValue
public int intValue()
- Specified by:
intValue
in classjava.lang.Number
-
longValue
public long longValue()
- Specified by:
longValue
in classjava.lang.Number
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classjava.lang.Number
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classjava.lang.Number
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(UnsignedByte o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UnsignedByte>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
valueOf
public static UnsignedByte valueOf(byte underlying)
-
valueOf
public static UnsignedByte valueOf(java.lang.String value) throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
-
-