Package jodd.lagarto
Class CharArrayInput
java.lang.Object
jodd.lagarto.CharsInput
jodd.lagarto.CharArrayInput
- All Implemented Interfaces:
CharSequence
Implementation of the
CharsInput over a char[].-
Nested Class Summary
Nested classes/interfaces inherited from class jodd.lagarto.CharsInput
CharsInput.Position -
Field Summary
FieldsFields inherited from class jodd.lagarto.CharsInput
ndx, total -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal charcharAt(int index) final charReturns character at current position.final CharSequencesubSequence(int from, int to) Methods inherited from class jodd.lagarto.CharsInput
decodeHtmlName, find, find, find, find, isEOF, length, match, match, matchUpperCase, positionOfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty, toString
-
Field Details
-
EMPTY_CHAR_SEQUENCE
-
input
private final char[] input
-
-
Constructor Details
-
CharArrayInput
CharArrayInput(char[] input)
-
-
Method Details
-
charAt
public final char charAt(int index) -
charAtNdx
public final char charAtNdx()Returns character at current position.- Specified by:
charAtNdxin classCharsInput
-
subSequence
-