org.apache.qpid.proton.amqp
Class Symbol

java.lang.Object
  extended by org.apache.qpid.proton.amqp.Symbol
All Implemented Interfaces:
java.lang.CharSequence, java.lang.Comparable<Symbol>

public final class Symbol
extends java.lang.Object
implements java.lang.Comparable<Symbol>, java.lang.CharSequence


Method Summary
 char charAt(int index)
           
 int compareTo(Symbol o)
           
static Symbol getSymbol(java.lang.String symbolVal)
           
 int hashCode()
           
 int length()
           
 java.lang.CharSequence subSequence(int beginIndex, int endIndex)
           
 java.lang.String toString()
           
static Symbol valueOf(java.lang.String symbolVal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

length

public int length()
Specified by:
length in interface java.lang.CharSequence

compareTo

public int compareTo(Symbol o)
Specified by:
compareTo in interface java.lang.Comparable<Symbol>

charAt

public char charAt(int index)
Specified by:
charAt in interface java.lang.CharSequence

subSequence

public java.lang.CharSequence subSequence(int beginIndex,
                                          int endIndex)
Specified by:
subSequence in interface java.lang.CharSequence

toString

public java.lang.String toString()
Specified by:
toString in interface java.lang.CharSequence
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

valueOf

public static Symbol valueOf(java.lang.String symbolVal)

getSymbol

public static Symbol getSymbol(java.lang.String symbolVal)