Package org.apache.qpid.protonj2.types
Class Symbol
- java.lang.Object
-
- org.apache.qpid.protonj2.types.Symbol
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Symbol other)
boolean
equals(java.lang.Object other)
int
getLength()
static Symbol
getSymbol(java.lang.String stringValue)
static Symbol
getSymbol(ProtonBuffer symbolBytes)
static Symbol
getSymbol(ProtonBuffer symbolBuffer, boolean copyOnCreate)
int
hashCode()
java.lang.String
toString()
static Symbol
valueOf(java.lang.String symbolVal)
void
writeTo(ProtonBuffer target)
-
-
-
Method Detail
-
getLength
public int getLength()
-
compareTo
public int compareTo(Symbol other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Symbol>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
writeTo
public void writeTo(ProtonBuffer target)
-
valueOf
public static Symbol valueOf(java.lang.String symbolVal)
-
getSymbol
public static Symbol getSymbol(ProtonBuffer symbolBytes)
-
getSymbol
public static Symbol getSymbol(ProtonBuffer symbolBuffer, boolean copyOnCreate)
-
getSymbol
public static Symbol getSymbol(java.lang.String stringValue)
-
-