A C G I L M N O R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- and(CharPredicate) - Method in interface net.pwall.text.CharPredicate
-
Create a composed predicate combining this predicate and another testing the same value in an AND relationship.
C
- charAt(int) - Method in class net.pwall.text.TextMatcher.CharSeq
-
Get the character at the given offset.
- CharPredicate - Interface in net.pwall.text
-
A functional interface to test a character value.
- convertDecDigit(char) - Static method in class net.pwall.text.TextMatcher
-
Convert a decimal digit to the integer value of the digit.
- convertHexDigit(char) - Static method in class net.pwall.text.TextMatcher
-
Convert a hexadecimal digit to the integer value of the digit.
G
- getChar(int) - Method in class net.pwall.text.TextMatcher
-
Get the character at the nominated index.
- getCharSeq(int, int) - Method in class net.pwall.text.TextMatcher
-
Get a substring of the text as a
CharSequence. - getHexInt(int, int) - Method in class net.pwall.text.TextMatcher
-
Get an unsigned
intfrom the text, treating the digits as hexadecimal. - getHexLong(int, int) - Method in class net.pwall.text.TextMatcher
-
Get an unsigned
longfrom the text, treating the digits as hexadecimal. - getIndex() - Method in class net.pwall.text.TextMatcher
-
Get the current index (the offset within the text).
- getInt(int, int) - Method in class net.pwall.text.TextMatcher
-
Get a positive
intfrom the text. - getInt(int, int, boolean) - Method in class net.pwall.text.TextMatcher
-
Get a signed
intfrom the text. - getLength() - Method in class net.pwall.text.TextMatcher
-
Get the length of the entire text.
- getLong(int, int) - Method in class net.pwall.text.TextMatcher
-
Get a positive
longfrom the text. - getLong(int, int, boolean) - Method in class net.pwall.text.TextMatcher
-
Get a signed
longfrom the text. - getResult() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as a
String. - getResultChar() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation (or the first character of a longer match) as a single character.
- getResultCharSeq() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as a
CharSequence. - getResultHexInt() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as an unsigned
int, treating the digits as hexadecimal. - getResultHexLong() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as an unsigned
long, treating the digits as hexadecimal. - getResultInt() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as an
int. - getResultInt(boolean) - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as an
int. - getResultLength() - Method in class net.pwall.text.TextMatcher
-
Get the length of the result of the last match operation.
- getResultLong() - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as a
long. - getResultLong(boolean) - Method in class net.pwall.text.TextMatcher
-
Get the result of the last match operation as a
long. - getStart() - Method in class net.pwall.text.TextMatcher
-
Get the start index (the index of the start of the last matched sequence).
- getString(int, int) - Method in class net.pwall.text.TextMatcher
-
Get a substring of the text.
I
- isAtEnd() - Method in class net.pwall.text.TextMatcher
-
Test whether the
TextMatcherobject is exhausted (the index has reached the end of the text). - isDigit(char) - Static method in class net.pwall.text.TextMatcher
-
Test whether the given character is a digit.
- isHexDigit(char) - Static method in class net.pwall.text.TextMatcher
-
Test whether the given character is a hexadecimal digit.
L
- length() - Method in class net.pwall.text.TextMatcher.CharSeq
-
Get the length of the
CharSeq.
M
- match(char) - Method in class net.pwall.text.TextMatcher
-
Match the current character in the text against a given character.
- match(CharSequence) - Method in class net.pwall.text.TextMatcher
- match(CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the current character in the text using the specified comparison function.
- matchAny(String) - Method in class net.pwall.text.TextMatcher
-
Match the current character in the text against any of the characters in a given
String. - matchContinue(int, int, CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as a continuation using the specified comparison function, with a given minimum number of characters and an optional maximum, but do not set the start index on success, and on fail, set the index back to the start index (as if the original match had failed).
- matchContinue(int, CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as a continuation using the specified comparison function, with no minimum number of characters and an optional maximum, but do not set the start index on success, and on fail, set the index back to the start index (as if the original match had failed).
- matchContinue(CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as a continuation using the specified comparison function, with no minimum or maximum number of characters, but do not set the start index on success, and on fail, set the index back to the start index (as if the original match had failed).
- matchDec() - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as decimal digits, with a minimum of 1 digit and no maximum.
- matchDec(int) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as decimal digits, with a minimum of 1 digit and an optional maximum.
- matchDec(int, int) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as decimal digits, with a given minimum number of digits and an optional maximum.
- matchHex() - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as hexadecimal digits, with a minimum of 1 digit and no maximum.
- matchHex(int) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as hexadecimal digits, with a minimum of 1 digit and an optional maximum.
- matchHex(int, int) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index as hexadecimal digits, with a given minimum number of digits and an optional maximum.
- matchSeq(int, int, CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index using the specified comparison function, with a given minimum number of characters and an optional maximum.
- matchSeq(int, CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index using the specified comparison function, with a minimum of 1 character and an optional maximum.
- matchSeq(CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Match the characters at the index using the specified comparison function, with a minimum of 1 character and no maximum.
N
- negate() - Method in interface net.pwall.text.CharPredicate
-
Create a predicate representing the logical NOT of this predicate.
- net.pwall.text - package net.pwall.text
- nextChar() - Method in class net.pwall.text.TextMatcher
-
Get the character at the current index and increment the index.
O
- or(CharPredicate) - Method in interface net.pwall.text.CharPredicate
-
Create a composed predicate combining this predicate and another testing the same value in an OR relationship.
R
- revert() - Method in class net.pwall.text.TextMatcher
-
Undo the effect of the last match operation.
S
- setIndex(int) - Method in class net.pwall.text.TextMatcher
-
Set the current index.
- setStart(int) - Method in class net.pwall.text.TextMatcher
-
Set the start index.
- skip(CharPredicate) - Method in class net.pwall.text.TextMatcher
-
Increment the index past any characters matching a given comparison function.
- skipAny(String) - Method in class net.pwall.text.TextMatcher
-
Increment the index past any of the characters in a given string.
- skipFixed(int) - Method in class net.pwall.text.TextMatcher
-
Increment the index by a fixed amount.
- skipToEnd() - Method in class net.pwall.text.TextMatcher
-
Increment the index directly to the end of the text.
- subSequence(int, int) - Method in class net.pwall.text.TextMatcher.CharSeq
-
Get a sub-sequence of this
CharSeq.
T
- test(char) - Method in interface net.pwall.text.CharPredicate
-
Evaluate the predicate against the given argument.
- TextMatcher - Class in net.pwall.text
-
A text matching class to help with parsing text strings.
- TextMatcher(String) - Constructor for class net.pwall.text.TextMatcher
-
Construct a
TextMatcherwith the specified text. - TextMatcher.CharSeq - Class in net.pwall.text
-
An implementation of
CharSequenceto return data fromTextMatcher. - toString() - Method in class net.pwall.text.TextMatcher.CharSeq
-
Get the
Stringrepresentation of thisCharSeq.
All Classes All Packages