Class CharSequenceWrapper

  • All Implemented Interfaces:, java.lang.CharSequence

    public class CharSequenceWrapper
    extends java.lang.Object
    implements java.lang.CharSequence,
    Wrapper class to adapt CharSequence for use in maps and sets.
    See Also:
    Serialized Form
    • Method Detail

      • get

        public java.lang.CharSequence get()
      • equals

        public boolean equals​(java.lang.Object other)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • length

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

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

        public java.lang.CharSequence subSequence​(int start,
                                                  int end)
        Specified by:
        subSequence in interface java.lang.CharSequence
      • toString

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