Class Segment.TextCharSequenceBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int byteOffset  
      protected byte[] bytes  
      protected int length  
      protected int startOffset  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextCharSequenceBase​(byte[] bytes, int byteOffset, int startOffset, int length)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract char charAt​(int index)  
      (package private) abstract java.lang.CharSequence create​(int startOffset, int length)  
      int length()  
      java.lang.CharSequence subSequence​(int startIndex, int endIndex)  
      @NotNull 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
    • Field Detail

      • bytes

        protected final byte[] bytes
      • byteOffset

        protected final int byteOffset
      • startOffset

        protected final int startOffset
      • length

        protected final int length
    • Constructor Detail

      • TextCharSequenceBase

        public TextCharSequenceBase​(byte[] bytes,
                                    int byteOffset,
                                    int startOffset,
                                    int length)
    • Method Detail

      • length

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

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

        abstract java.lang.CharSequence create​(int startOffset,
                                               int length)
      • subSequence

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

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