Class Segment.TextRepeatedSequence

  • All Implemented Interfaces:
    java.lang.CharSequence
    Enclosing class:
    Segment

    static class Segment.TextRepeatedSequence
    extends java.lang.Object
    implements java.lang.CharSequence
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected char c  
      protected int length  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextRepeatedSequence​(char c, int length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char charAt​(int index)  
      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

      • c

        protected final char c
      • length

        protected final int length
    • Constructor Detail

      • TextRepeatedSequence

        public TextRepeatedSequence​(char c,
                                    int length)
    • Method Detail

      • 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 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