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'sUnsignedByteclass.- 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 bytebyteValue()intcompareTo(org.apache.qpid.proton.amqp.UnsignedByte o)doubledoubleValue()booleanequals(Object o)floatfloatValue()inthashCode()intintValue()longlongValue()shortshortValue()StringtoString()static UnsignedBytevalueOf(byte underlying)static UnsignedBytevalueOf(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:
shortValuein classNumber
-
floatValue
public float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()
- Specified by:
doubleValuein classNumber
-
compareTo
public int compareTo(org.apache.qpid.proton.amqp.UnsignedByte o)
- Specified by:
compareToin interfaceComparable<org.apache.qpid.proton.amqp.UnsignedByte>
-
-