Class 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 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)
      • writeTo

        public void writeTo​(java.nio.ByteBuffer buffer)