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 CharsInput
CharsInput.Position -
Field Summary
FieldsFields inherited from class 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 CharsInput
decodeHtmlName, find, find, find, find, isEOF, length, match, match, matchUpperCase, positionOfMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CharSequence
chars, codePoints, getChars, 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
-