A B C D E G H I L M N O P R S T U

A

add(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.CharSequenceAggregate
 
after(TokenizerState, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters after the provided sequence, starting at the current position.
after(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters after the provided sequence.
after(CharSequence, int) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters after the provided index.
after(CharSequence, CharSequence, boolean) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters after the provided sequence, optionally trimming the results.
after(CharSequence, int, boolean) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters after the provided index, optionally trimming the results.
append(CharSequence) - Method in class org.freecompany.util.text.State
Appends a new sequence to the end of the existing one, allowing the sequence to grow in place.
append(ByteBuffer) - Method in class org.freecompany.util.text.State
The buffer is assumed to be US-ASCII encoded text (with undefined behavior if this is not the case) and is simply wrapped to look like a character sequence.
append(ByteBuffer, CharsetDecoder) - Method in class org.freecompany.util.text.State
Appends a new buffer to the target using the provided decoder.

B

before(TokenizerState, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the characters preceeding the provided sequence, starting at the current position.
before(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the characters preceeding the provided sequence.
before(CharSequence, CharSequence, boolean) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the characters preceeding the provided sequence, optionally trimming the resulting sequence.
before(CharSequence, int) - Static method in class org.freecompany.util.text.Tokenizer
Convenience method for returning the untrimmed portion of a sequence up to the provided index.
before(CharSequence, int, boolean) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the characters preceding the provided index, optionally trimming the results.
between(TokenizerState, CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the next token that falls between the two provided sequences, starting at the current position.
between(CharSequence, CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the next token that falls between the two provided sequences.
between(CharSequence, CharSequence, CharSequence, boolean) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the next token that falls between the two provided sequences, optionally trimming the results.
buffer - Variable in class org.freecompany.util.text.ByteBufferWrapper
 
ByteBufferWrapper - Class in org.freecompany.util.text
This class provides a wrapper view of a buffer of bytes as a sequence of US-ASCII characters.
ByteBufferWrapper(ByteBuffer) - Constructor for class org.freecompany.util.text.ByteBufferWrapper
 

C

charAt(int) - Method in class org.freecompany.util.text.ByteBufferWrapper
Returns the character at the provided index in the backing byte buffer, respective of the current buffer position.
charAt(int) - Method in class org.freecompany.util.text.CharSequenceAggregate
 
charAt(int) - Method in class org.freecompany.util.text.CharSequenceWrapper
 
charAt(int) - Method in class org.freecompany.util.text.State
 
CharSequenceAggregate - Class in org.freecompany.util.text
 
CharSequenceAggregate() - Constructor for class org.freecompany.util.text.CharSequenceAggregate
 
CharSequenceAggregate(CharSequence, CharSequence) - Constructor for class org.freecompany.util.text.CharSequenceAggregate
 
CharSequenceIterator - Class in org.freecompany.util.text
Iterator for obtaining Character instances from an arbitrary CharSequence.
CharSequenceIterator(CharSequence) - Constructor for class org.freecompany.util.text.CharSequenceIterator
 
CharSequenceIterator(CharSequence, int) - Constructor for class org.freecompany.util.text.CharSequenceIterator
 
CharSequenceMap<T> - Class in org.freecompany.util.text
A map implementation that can use <@link CharSequence> instances as keys.
CharSequenceMap() - Constructor for class org.freecompany.util.text.CharSequenceMap
 
CharSequenceMap.CharSequenceComparator - Class in org.freecompany.util.text
Comparator for examining two <@see java.lang.CharSequence> objects for equality based only on value.
CharSequenceMap.CharSequenceComparator() - Constructor for class org.freecompany.util.text.CharSequenceMap.CharSequenceComparator
 
CharSequenceWrapper - Class in org.freecompany.util.text
 
CharSequenceWrapper(CharSequence) - Constructor for class org.freecompany.util.text.CharSequenceWrapper
 
clear() - Method in class org.freecompany.util.text.State
 
codePointAt(int) - Method in class org.freecompany.util.text.CharSequenceWrapper
 
codePointAt(int) - Method in interface org.freecompany.util.text.UnicodeSequence
Decodes the code point at the specified index in this sequence.
codePointCount() - Method in class org.freecompany.util.text.CharSequenceWrapper
 
codePointCount() - Method in interface org.freecompany.util.text.UnicodeSequence
Returns a count of the total number of Unicode code points in this character sequence.
comparator() - Static method in class org.freecompany.util.text.Comparison
Creates a case sensitive comparator for use in collections.
comparator(boolean) - Static method in class org.freecompany.util.text.Comparison
Creates a comparator for use in collections that is case senstive only if the provided flag is set to true.
compare(CharSequence, CharSequence) - Method in class org.freecompany.util.text.CharSequenceMap.CharSequenceComparator
 
compare(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Comparison
Compares two sequences for equality sensitive to case.
compare(CharSequence, CharSequence, boolean) - Static method in class org.freecompany.util.text.Comparison
Compares two sequences for equality sensitive to case only if the provided flag is true.
compare(char, char) - Static method in class org.freecompany.util.text.Comparison
Compares two chars for equality sensitive to case.
compare(char, char, boolean) - Static method in class org.freecompany.util.text.Comparison
Compares two chars for equality sensitive to case only if the provided flag is true.
Comparison - Class in org.freecompany.util.text
 
Comparison() - Constructor for class org.freecompany.util.text.Comparison
 
count - Variable in class org.freecompany.util.text.CharSequenceIterator
 
count - Variable in class org.freecompany.util.text.UnicodeSequenceIterator
 

D

dump(byte[]) - Static method in class org.freecompany.util.text.Util
 
dump(byte[], Appendable) - Static method in class org.freecompany.util.text.Util
 
dump(char[]) - Static method in class org.freecompany.util.text.Util
 
dump(CharSequence) - Static method in class org.freecompany.util.text.Util
 
dump(char[], Appendable) - Static method in class org.freecompany.util.text.Util
 
dump(ByteBuffer, Appendable) - Static method in class org.freecompany.util.text.Util
 

E

empty() - Static method in class org.freecompany.util.text.CharSequenceAggregate
 
end(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
 
endsWith(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Convenience method that scans in order to determine if the token is the last set of characters in the target.
equals(char, char) - Static method in class org.freecompany.util.text.Comparison
Compares two chars for equality sensitive to case.
equals(char, char, boolean) - Static method in class org.freecompany.util.text.Comparison
Compares two chars for equality sensitive to case only if the provided flag is true.
equals(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Comparison
Compares two sequences for equality sensitive to case.
equals(CharSequence, CharSequence, boolean) - Static method in class org.freecompany.util.text.Comparison
Compares two sequences for equality sensitive to case only if the provided flag is true.
expunge() - Method in class org.freecompany.util.text.State
Performs a soft expunge which only removes the first sequences that have been exhausted.
expunge(boolean) - Method in class org.freecompany.util.text.State
Removes the next unneeded sequence from this parser, if one is available.

G

getBuffer() - Method in class org.freecompany.util.text.ByteBufferWrapper
 
getMark() - Method in class org.freecompany.util.text.State
 

H

hasNext() - Method in class org.freecompany.util.text.CharSequenceIterator
 
hasNext() - Method in class org.freecompany.util.text.State
 
hasNext() - Method in class org.freecompany.util.text.UnicodeSequenceIterator
 
hex(byte[]) - Static method in class org.freecompany.util.text.Util
 

I

index() - Method in class org.freecompany.util.text.CharSequenceIterator
 
IterableCharSequence - Class in org.freecompany.util.text
Simple convenience class for building an Iterable object out of a {$link CharSequence}.
IterableCharSequence(CharSequence) - Constructor for class org.freecompany.util.text.IterableCharSequence
 
IterableUnicodeSequence - Class in org.freecompany.util.text
Simple convenience class for building an Iterable object that suports the entire set of Unicode code points out of a {$link CharSequence}.
IterableUnicodeSequence(CharSequence) - Constructor for class org.freecompany.util.text.IterableUnicodeSequence
 
iterator() - Method in class org.freecompany.util.text.IterableCharSequence
 
iterator(CharSequence) - Static method in class org.freecompany.util.text.IterableCharSequence
 
iterator() - Method in class org.freecompany.util.text.IterableUnicodeSequence
 
iterator(CharSequence) - Static method in class org.freecompany.util.text.IterableUnicodeSequence
 
iterator() - Method in class org.freecompany.util.text.State
 

L

last(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Convenience method that reverse scans an entire target.
length() - Method in class org.freecompany.util.text.ByteBufferWrapper
Returns the perceived length of this character sequence, which in this case is the number of bytes between the position and limit of the backing buffer.
length() - Method in class org.freecompany.util.text.CharSequenceAggregate
 
length() - Method in class org.freecompany.util.text.CharSequenceWrapper
 
length() - Method in class org.freecompany.util.text.State
 

M

mark - Variable in class org.freecompany.util.text.State
 
mark() - Method in class org.freecompany.util.text.State
 
marked() - Method in class org.freecompany.util.text.State
 
match(CharSequence, CharSequence, int) - Static method in class org.freecompany.util.text.Scanner
Convenience method that matches the portion of the sequence from the provided index to the end.
match(CharSequence, CharSequence, int, int) - Static method in class org.freecompany.util.text.Scanner
Matches the provided sequence against the target at the indicated index.

N

next() - Method in class org.freecompany.util.text.CharSequenceIterator
 
next(int) - Method in class org.freecompany.util.text.CharSequenceIterator
 
next() - Method in class org.freecompany.util.text.State
 
next() - Method in class org.freecompany.util.text.UnicodeSequenceIterator
 
NULL - Static variable in class org.freecompany.util.text.CharSequenceAggregate
 

O

org.freecompany.util.text - package org.freecompany.util.text
 

P

peek() - Method in class org.freecompany.util.text.CharSequenceIterator
 
peek() - Method in class org.freecompany.util.text.State
Examines the next character without advancing the position.
peek() - Method in class org.freecompany.util.text.UnicodeSequenceIterator
 
peekPlus(int) - Method in class org.freecompany.util.text.State
Examines the character at the position plus the argument without advancing the position.
position - Variable in class org.freecompany.util.text.State
 
position(int) - Method in class org.freecompany.util.text.State
 
position() - Method in class org.freecompany.util.text.State
 
previous() - Method in class org.freecompany.util.text.State
Returns the character immediately preceeding the current character in this sate object.

R

remainder() - Method in class org.freecompany.util.text.CharSequenceIterator
 
remaining() - Method in class org.freecompany.util.text.State
 
remove(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.CharSequenceAggregate
 
remove() - Method in class org.freecompany.util.text.CharSequenceIterator
 
remove() - Method in class org.freecompany.util.text.State
 
remove() - Method in class org.freecompany.util.text.UnicodeSequenceIterator
 
reset() - Method in class org.freecompany.util.text.State
 
rest() - Method in class org.freecompany.util.text.State
 
rest(TokenizerState) - Static method in class org.freecompany.util.text.Tokenizer
Retrieves the remaining characters from this tokenizer.
root() - Method in class org.freecompany.util.text.CharSequenceAggregate
Looks up the logical 'first' element in this aggregation.

S

scan(State, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Scans for the next occurance of the provided sequence starting at the index stored in the internal counter.
scan(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Convenience method that scans between the start and the end of the target.
scan(CharSequence, CharSequence, int) - Static method in class org.freecompany.util.text.Scanner
Convenience method which scans between the provided index and the end of the target.
scan(CharSequence, CharSequence, int, int) - Static method in class org.freecompany.util.text.Scanner
Scans the provided target sequence for the whole of the provided sequence occurring between the start and end indexes.
Scanner - Class in org.freecompany.util.text
Locates individual characters and sequences of characters within a block of characters.
Scanner() - Constructor for class org.freecompany.util.text.Scanner
 
sequence - Variable in class org.freecompany.util.text.CharSequenceIterator
 
sequence - Variable in class org.freecompany.util.text.IterableCharSequence
 
sequence - Variable in class org.freecompany.util.text.IterableUnicodeSequence
 
sequence - Variable in class org.freecompany.util.text.State
 
sequence() - Method in class org.freecompany.util.text.State
 
sequence - Variable in class org.freecompany.util.text.UnicodeSequenceIterator
 
skip(State, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Skips a sequence if it is present at the cursor.
skip(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Skips a sequence using the default index of zero, meaning this method only searches the beginning of a sequence for a particular match.
skip(CharSequence, CharSequence, int) - Static method in class org.freecompany.util.text.Scanner
Skips a sequence if and only if it is found at the given index.
slice() - Method in class org.freecompany.util.text.State
Slices the most recently processed logical characters sequence by capturing and returning the sequence of characters between the mark and the current position and then marking the new position.
startsWith(CharSequence, CharSequence) - Static method in class org.freecompany.util.text.Scanner
Convenience method that scans in order to determine if the token is the first set of characters in the target.
State - Class in org.freecompany.util.text
Encompases the state of a text processor.
State() - Constructor for class org.freecompany.util.text.State
 
sub(CharSequence, int, int, boolean) - Static method in class org.freecompany.util.text.Tokenizer
 
subSequence(int, int) - Method in class org.freecompany.util.text.ByteBufferWrapper
Creates a new wrapped slice of the buffer given position and limit values derived from the provided start and end indexes.
subSequence(int, int) - Method in class org.freecompany.util.text.CharSequenceAggregate
 
subSequence(int, int) - Method in class org.freecompany.util.text.CharSequenceWrapper
 
subSequence(int, int) - Method in class org.freecompany.util.text.State
 

T

Tokenizer - Class in org.freecompany.util.text
Provides methods to tokenize character sequence given either absolute indexes or sequence for which to scan.
Tokenizer() - Constructor for class org.freecompany.util.text.Tokenizer
 
TokenizerState - Class in org.freecompany.util.text
 
TokenizerState() - Constructor for class org.freecompany.util.text.TokenizerState
 
toString() - Method in class org.freecompany.util.text.ByteBufferWrapper
Creates a UTF-8 decoded string representation of this byte buffer.
toString() - Method in class org.freecompany.util.text.CharSequenceAggregate
 
toString() - Method in class org.freecompany.util.text.CharSequenceWrapper
 
trim - Variable in class org.freecompany.util.text.TokenizerState
 
trim(boolean) - Method in class org.freecompany.util.text.TokenizerState
Sets this tokenizers handling of whitespace.
trim() - Method in class org.freecompany.util.text.TokenizerState
 

U

UnicodeSequence - Interface in org.freecompany.util.text
 
UnicodeSequenceIterator - Class in org.freecompany.util.text
Iterator for obtaining Integer instances representing Unicode code points from an arbitrary CharSequence.
UnicodeSequenceIterator(CharSequence) - Constructor for class org.freecompany.util.text.UnicodeSequenceIterator
 
UnicodeSequenceIterator(CharSequence, int) - Constructor for class org.freecompany.util.text.UnicodeSequenceIterator
 
Util - Class in org.freecompany.util.text
 
Util() - Constructor for class org.freecompany.util.text.Util
 

A B C D E G H I L M N O P R S T U