Class CharArrayWriterAsSequence

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable, java.lang.CharSequence

    public class CharArrayWriterAsSequence
    extends java.io.CharArrayWriter
    implements java.lang.CharSequence
    • Field Summary

      • Fields inherited from class java.io.CharArrayWriter

        buf, count
      • Fields inherited from class java.io.Writer

        lock
    • 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)  
      • Methods inherited from class java.io.CharArrayWriter

        append, append, append, close, flush, reset, size, toCharArray, toString, write, write, write, writeTo
      • Methods inherited from class java.io.Writer

        nullWriter, write, write
      • 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, toString
    • Constructor Detail

      • CharArrayWriterAsSequence

        public CharArrayWriterAsSequence​(int initial)
      • CharArrayWriterAsSequence

        public CharArrayWriterAsSequence()
    • Method Detail

      • charAt

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

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

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