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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteintcompareTo(org.apache.qpid.proton.amqp.UnsignedByte o) doublebooleanfloatinthashCode()intintValue()longshorttoString()static UnsignedBytevalueOf(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:
shortValuein classNumber
-
intValue
public int intValue() -
longValue
public long longValue() -
floatValue
public float floatValue()- Specified by:
floatValuein classNumber
-
doubleValue
public double doubleValue()- Specified by:
doubleValuein classNumber
-
equals
-
compareTo
public int compareTo(org.apache.qpid.proton.amqp.UnsignedByte o) - Specified by:
compareToin interfaceComparable<org.apache.qpid.proton.amqp.UnsignedByte>
-
hashCode
public int hashCode() -
toString
-