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 TypeMethodDescriptionchar
charAt
(int index) int
length()
subSequence
(int startIndex, int endIndex) @NotNull 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, 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:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-