Class AmqpValue<E>
- java.lang.Object
-
- org.apache.qpid.protonj2.types.messaging.AmqpValue<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.types.messaging.Section
Section.SectionType
-
-
Field Summary
Fields Modifier and Type Field Description static UnsignedLongDESCRIPTOR_CODEstatic SymbolDESCRIPTOR_SYMBOL
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmqpValue<E>copy()booleanequals(java.lang.Object obj)Section.SectionTypegetType()EgetValue()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
DESCRIPTOR_CODE
public static final UnsignedLong DESCRIPTOR_CODE
-
DESCRIPTOR_SYMBOL
public static final Symbol DESCRIPTOR_SYMBOL
-
-
Constructor Detail
-
AmqpValue
public AmqpValue(E value)
-
-
Method Detail
-
getValue
public E getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getType
public Section.SectionType getType()
- Specified by:
getTypein interfaceSection<E>- Returns:
- the
Section.SectionTypethat describes this instance.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-