Package com.plantuml.ubrex
Class TextNavigator
java.lang.Object
com.plantuml.ubrex.TextNavigator
- All Implemented Interfaces:
CharSequence
-
Method Summary
Modifier and TypeMethodDescriptionstatic TextNavigator
build
(CharSequence content) char
charAt
(int index) int
indexOf
(char ch) void
jump
(int step) int
length()
reverse
(int pos) int
int
searchPattern
(Challenge pattern, int ahead) boolean
startsWith
(String searched, int ahead) subSequence
(int beginIndex, int endIndex) 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
-
Method Details
-
build
-
reverse
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
indexOf
public int indexOf(char ch) -
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
length
public int length()- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAt
in interfaceCharSequence
-
jump
public void jump(int step) -
startsWith
-
search
-
searchPattern
-