Class CompositeCharSequence

  • All Implemented Interfaces:
    java.lang.CharSequence

    public class CompositeCharSequence
    extends java.lang.Object
    implements java.lang.CharSequence
    • Constructor Summary

      Constructors 
      Constructor Description
      CompositeCharSequence​(java.lang.CharSequence[] components)  
    • Method Summary

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

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

        chars, codePoints, toString
    • Constructor Detail

      • CompositeCharSequence

        public CompositeCharSequence​(java.lang.CharSequence[] components)
    • Method Detail

      • getComponents

        public java.lang.CharSequence[] getComponents()
      • 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