Package com.rabbitmq.stream.amqp
Class UnsignedByte
- java.lang.Object
-
- java.lang.Number
-
- com.rabbitmq.stream.amqp.UnsignedByte
-
- All Implemented Interfaces:
Serializable
,Comparable<org.apache.qpid.proton.amqp.UnsignedByte>
public final class UnsignedByte extends Number implements Comparable<org.apache.qpid.proton.amqp.UnsignedByte>
This code is based on QPid Proton'sUnsignedByte
class.- 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(org.apache.qpid.proton.amqp.UnsignedByte o)
double
doubleValue()
boolean
equals(Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
short
shortValue()
String
toString()
static UnsignedByte
valueOf(byte underlying)
static UnsignedByte
valueOf(String value)
-
-
-
Method Detail
-
valueOf
public static UnsignedByte valueOf(byte underlying)
-
valueOf
public static UnsignedByte valueOf(String value) throws NumberFormatException
- Throws:
NumberFormatException
-
shortValue
public short shortValue()
- Overrides:
shortValue
in classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in classNumber
-
compareTo
public int compareTo(org.apache.qpid.proton.amqp.UnsignedByte o)
- Specified by:
compareTo
in interfaceComparable<org.apache.qpid.proton.amqp.UnsignedByte>
-
-