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's
UnsignedByte
class.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
int
compareTo
(org.apache.qpid.proton.amqp.UnsignedByte o) double
boolean
float
int
hashCode()
int
intValue()
long
short
toString()
static UnsignedByte
valueOf
(byte underlying) static UnsignedByte
-
Constructor Details
-
UnsignedByte
public UnsignedByte(byte underlying)
-
-
Method Details
-
valueOf
-
valueOf
- Throws:
NumberFormatException
-
byteValue
public byte byteValue() -
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
compareTo
public int compareTo(org.apache.qpid.proton.amqp.UnsignedByte o) - Specified by:
compareTo
in interfaceComparable<org.apache.qpid.proton.amqp.UnsignedByte>
-
hashCode
public int hashCode() -
toString
-