Class Segment.TextRepeatedSequence
java.lang.Object
com.vladsch.flexmark.util.sequence.builder.tree.Segment.TextRepeatedSequence
- All Implemented Interfaces:
CharSequence
- Enclosing class:
Segment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) intlength()subSequence(int startIndex, int endIndex) @NotNull StringtoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CharSequence
chars, codePoints, getChars, isEmpty
-
Field Details
-
c
protected final char c -
length
protected final int length
-
-
Constructor Details
-
TextRepeatedSequence
public TextRepeatedSequence(char c, int length)
-
-
Method Details
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-