Class DelegatingCharSequence

  • All Implemented Interfaces:
    java.lang.CharSequence

    public abstract class DelegatingCharSequence
    extends java.lang.Object
    implements java.lang.CharSequence
    CharSequence that delegates all calls to another CharSequence.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DelegatingCharSequence​(java.lang.CharSequence delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int index)  
      int length()  
      java.lang.CharSequence subSequence​(int start, int end)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.CharSequence

        chars, codePoints
    • Constructor Detail

      • DelegatingCharSequence

        protected DelegatingCharSequence​(java.lang.CharSequence delegate)
    • Method Detail

      • length

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

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

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

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