A C D F G H I L M N O R S T W

A

addLine(String) - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new line and copies the contents of s into it.
addLine(int, String) - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new line with the given indent level and copies the contents of s into it.
addLine(StringBuilder) - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new line and copies the contents of sb into it.
addLine(int, StringBuilder) - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new line with the given indent level and copies the contents of sb into it.
addLines(IndentableLineBuffer) - Method in class org.tbull.util.dev.IndentableLineBuffer
Adds the lines of the other line buffer to this one.
append(String) - Method in class org.tbull.util.dev.IndentableLineBuffer
Appends the contents of s to the current last line.
append(StringBuilder) - Method in class org.tbull.util.dev.IndentableLineBuffer
Appends the contents of sb to the current last line.
append(char) - Method in class org.tbull.util.dev.IndentableLineBuffer
Appends the specified character to the current last line.
append(CharSequence) - Method in class org.tbull.util.dev.IndentableLineBuffer
Appends the specified character sequence to the current last line.
append(CharSequence, int, int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Appends a subsequence of the specified character sequence to the current last line.
append(char) - Method in class org.tbull.util.StringBuilderWriter
 
append(CharSequence, int, int) - Method in class org.tbull.util.StringBuilderWriter
 
append(CharSequence) - Method in class org.tbull.util.StringBuilderWriter
 
appendLines(IndentableLineBuffer) - Method in class org.tbull.util.dev.IndentableLineBuffer
Adds the lines of the other line buffer to this one, concatenating the [letzte und erste (adjoining?)] lines.

C

charAt(int) - Method in class org.tbull.util.StringBuilderWriter
 
CharSequenceReader - Class in org.tbull.util
Like StringReader, but reads arbitrary CharSequences and is unsynchronized.
CharSequenceReader(CharSequence) - Constructor for class org.tbull.util.CharSequenceReader
Constructs a reader that reads from cs.
clone() - Method in class org.tbull.util.dev.IndentableLineBuffer
Creates a deep copy of this object.
close() - Method in class org.tbull.util.CharSequenceReader
Does nothing.
close() - Method in class org.tbull.util.StringBuilderWriter
Does nothing.
Collections - Class in org.tbull.util
Utilities for dealing with Collections and alike.
Collections() - Constructor for class org.tbull.util.Collections
 
Collections.LazyGrepIterator<E> - Class in org.tbull.util
An iterator that provides the grepLazy functionality.
Collections.LazyGrepIterator(Grepper<? super E>, Iterable<E>[]) - Constructor for class org.tbull.util.Collections.LazyGrepIterator
Constructs a LazyGrepIterator that iterates over the given iterables (lists).
Collections.LazyGrepIterator(Grepper<? super E>, Iterator<E>[]) - Constructor for class org.tbull.util.Collections.LazyGrepIterator
Constructs a LazyGrepIterator that fetches from the given iterators.
Collections.LazyMapIterator<I,O> - Class in org.tbull.util
An iterator that provides the mapLazy functionality.
Collections.LazyMapIterator(Mapper<? super I, ? extends O>, Iterable<I>[]) - Constructor for class org.tbull.util.Collections.LazyMapIterator
Constructs a LazyMapIterator that iterates over the given iterables (lists).
Collections.LazyMapIterator(Mapper<? super I, ? extends O>, Iterator<I>[]) - Constructor for class org.tbull.util.Collections.LazyMapIterator
Constructs a LazyMapIterator that fetches from the given iterators.

D

DataDumpable - Interface in org.tbull.util.dev
 
DataDumper - Class in org.tbull.util.dev
Provides routines for dumping objects (for debugging).
DataDumper() - Constructor for class org.tbull.util.dev.DataDumper
 
dump(Object...) - Static method in class org.tbull.util.dev.DataDumper
 
dumpData() - Method in interface org.tbull.util.dev.DataDumpable
 
dumpData() - Method in class org.tbull.util.dev.IndentableLineBuffer
 

F

flush() - Method in class org.tbull.util.StringBuilderWriter
Does nothing.
format(String, Object...) - Method in class org.tbull.util.dev.IndentableLineBuffer
Append a formatted string to the current last line using the specified format string and arguments.
format(Locale, String, Object...) - Method in class org.tbull.util.dev.IndentableLineBuffer
Append a formatted string to the current last line using the specified locale, format string, and arguments.

G

getBuilder() - Method in class org.tbull.util.StringBuilderWriter
Returns the underlying StringBuilder.
getPrettyClassName(Object) - Static method in class org.tbull.util.dev.DataDumper
 
getPrettyClassName(Class<?>) - Static method in class org.tbull.util.dev.DataDumper
 
grep(Grepper<? super E>, Iterable<E>...) - Static method in class org.tbull.util.Collections
Greps through one or more Iterables, returning the results in a list.
grep(Grepper<? super E>, Iterator<E>...) - Static method in class org.tbull.util.Collections
Greps from one or more Iterators, returning the results in a list.
grep(List<? super E>, Grepper<? super E>, Iterable<E>...) - Static method in class org.tbull.util.Collections
Greps through one or more Iterables, writing the results to a destination list.
grep(List<? super E>, Grepper<? super E>, Iterator<E>...) - Static method in class org.tbull.util.Collections
Greps from one or more Iterators, writing the results to a destination list.
grep(E) - Method in class org.tbull.util.Grepper.ANDGrepper
Returns false if any of the client greppers returns false.
grep(E) - Method in interface org.tbull.util.Grepper
Decides if the element in question should be part of the results of a grep process.
grep(E) - Method in class org.tbull.util.Grepper.InverseGrepper
Returns true if the wrapped grepper returns false, and vice versa.
grep(E) - Method in class org.tbull.util.Grepper.NULLGrepper
 
grep(E) - Method in class org.tbull.util.Grepper.ONEGrepper
 
grep(E) - Method in class org.tbull.util.Grepper.ORGrepper
Returns true if any of the client greppers returns true.
grep(CharSequence) - Method in class org.tbull.util.Grepper.RegexGrepper
Greps elements that match the regular expression as per Matcher.matches().
grepCount(Grepper<? super E>, Iterable<E>...) - Static method in class org.tbull.util.Collections
Counts how many items the grepper picks from the input elements.
grepCount(Grepper<? super E>, Iterator<E>...) - Static method in class org.tbull.util.Collections
Counts how many items the grepper picks from the input elements.
grepLazy(Grepper<? super E>, Iterable<E>...) - Static method in class org.tbull.util.Collections
Greps through one or more Iterables, returning one result element at a time.
grepLazy(Grepper<? super E>, Iterator<E>...) - Static method in class org.tbull.util.Collections
Greps through one or more Iterators, returning one result element at a time.
Grepper<E> - Interface in org.tbull.util
A grep condition.
Grepper.ANDGrepper<E> - Class in org.tbull.util
A Grepper that chains multiple client greppers logical-AND-wise.
Grepper.ANDGrepper() - Constructor for class org.tbull.util.Grepper.ANDGrepper
 
Grepper.InverseGrepper<E> - Class in org.tbull.util
A Grepper that inverts the results of another grepper.
Grepper.InverseGrepper(Grepper<E>) - Constructor for class org.tbull.util.Grepper.InverseGrepper
 
Grepper.NULLGrepper<E> - Class in org.tbull.util
A Grepper that rejects all elements, producing an empty result list.
Grepper.NULLGrepper() - Constructor for class org.tbull.util.Grepper.NULLGrepper
 
Grepper.ONEGrepper<E> - Class in org.tbull.util
A Grepper that lets all elements pass.
Grepper.ONEGrepper() - Constructor for class org.tbull.util.Grepper.ONEGrepper
 
Grepper.ORGrepper<E> - Class in org.tbull.util
A Grepper that chains multiple client greppers logical-OR-wise.
Grepper.ORGrepper() - Constructor for class org.tbull.util.Grepper.ORGrepper
 
Grepper.RegexGrepper - Class in org.tbull.util
A Grepper that matches string-like elements against a regular expression.
Grepper.RegexGrepper(String) - Constructor for class org.tbull.util.Grepper.RegexGrepper
Constructs a RegexGrepper from a given regular expression.
Grepper.RegexGrepper(Pattern) - Constructor for class org.tbull.util.Grepper.RegexGrepper
Constructs a RegexGrepper from a precompiled Pattern.

H

hasNext() - Method in class org.tbull.util.Collections.LazyGrepIterator
 
hasNext() - Method in class org.tbull.util.Collections.LazyMapIterator
 

I

indent(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Indents existing and future lines by modifing the base indent level.
IndentableLineBuffer - Class in org.tbull.util.dev
Provides a line buffer of individually indentable lines.
IndentableLineBuffer() - Constructor for class org.tbull.util.dev.IndentableLineBuffer
Constructs a new LineBuffer, initially consisting of no lines (empty).
IndentableLineBuffer(String) - Constructor for class org.tbull.util.dev.IndentableLineBuffer
Constructs a new LineBuffer, initially consisting of a line given by s.
IndentableLineBuffer(int) - Constructor for class org.tbull.util.dev.IndentableLineBuffer
Constructs a new LineBuffer, initially empty, with the given base indent level.
indentCurrentLine(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Indents the current line.
indentExisting(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Indents existing lines by modifying each line's individual indent level.
IterableIterator<E> - Interface in org.tbull.util
An Iterator, which can itself be the subject of an enhanced for statement.
iterator() - Method in class org.tbull.util.Collections.LazyGrepIterator
 
iterator() - Method in class org.tbull.util.Collections.LazyMapIterator
 

L

length() - Method in class org.tbull.util.CharSequenceReader
Returns the current length of the underlying char sequence.
length() - Method in class org.tbull.util.StringBuilderWriter
Returns the number of characters in the accumulated string data.

M

map(Mapper<? super I, ? extends O>, Iterable<I>...) - Static method in class org.tbull.util.Collections
 
map(Mapper<? super I, ? extends O>, Iterator<I>...) - Static method in class org.tbull.util.Collections
 
map(List<? super O>, Mapper<? super I, ? extends O>, Iterable<I>...) - Static method in class org.tbull.util.Collections
 
map(List<? super O>, Mapper<? super I, ? extends O>, Iterator<I>...) - Static method in class org.tbull.util.Collections
 
map(E) - Method in class org.tbull.util.Mapper.IdentityMapper
 
map(I) - Method in interface org.tbull.util.Mapper
Maps the element under translation from its original (input) type to the target (output) type of the mapping process.
mapLazy(Mapper<? super I, ? extends O>, Iterable<I>...) - Static method in class org.tbull.util.Collections
 
mapLazy(Mapper<? super I, ? extends O>, Iterator<I>...) - Static method in class org.tbull.util.Collections
 
Mapper<I,O> - Interface in org.tbull.util
A translation in the mapping process.
Mapper.IdentityMapper<E> - Class in org.tbull.util
A Mapper that maps according to an identity function.
Mapper.IdentityMapper() - Constructor for class org.tbull.util.Mapper.IdentityMapper
 
mark(int) - Method in class org.tbull.util.CharSequenceReader
Marks the current position in the stream for later repositioning.
markSupported() - Method in class org.tbull.util.CharSequenceReader
Tells whether this stream supports the CharSequenceReader.mark(int) operation.

N

newLine() - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new (empty) line.
newLine(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Begins a new (empty) line with the given indent level.
next() - Method in class org.tbull.util.Collections.LazyGrepIterator
 
next() - Method in class org.tbull.util.Collections.LazyMapIterator
 

O

org.tbull.util - package org.tbull.util
Very basic utilities.
org.tbull.util.dev - package org.tbull.util.dev
Development utilities, not usually needed for final products.

R

read() - Method in class org.tbull.util.CharSequenceReader
 
read(char[], int, int) - Method in class org.tbull.util.CharSequenceReader
 
read(char[]) - Method in class org.tbull.util.CharSequenceReader
 
read(CharBuffer) - Method in class org.tbull.util.CharSequenceReader
 
ready() - Method in class org.tbull.util.CharSequenceReader
Tells whether this stream is ready to be read without blocking, which is always true.
remaining() - Method in class org.tbull.util.CharSequenceReader
Returns the current number of characters remaining to be read from the underlying char sequence.
remove() - Method in class org.tbull.util.Collections.LazyGrepIterator
Always throws UnsupportedOperationException.
remove() - Method in class org.tbull.util.Collections.LazyMapIterator
Always throws UnsupportedOperationException.
reset() - Method in class org.tbull.util.CharSequenceReader
Repositions the stream to the previously marked position.

S

setBaseIndentLevel(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Sets the base indent level.
setDefaultLineIndentLevel(int) - Method in class org.tbull.util.dev.IndentableLineBuffer
Sets the default individual line indent level.
setImmutable(boolean) - Method in class org.tbull.util.CharSequenceReader
Sets the immutable flag for the underlying sequence.
setIndentation(String) - Method in class org.tbull.util.dev.IndentableLineBuffer
Sets the indentation string to use on stringification.
setLineSeparator(String) - Method in class org.tbull.util.dev.IndentableLineBuffer
Sets the line separator used by toString().
skip(long) - Method in class org.tbull.util.CharSequenceReader
 
StringBuilderWriter - Class in org.tbull.util
Like StringWriter, but completely unsynchronized.
StringBuilderWriter() - Constructor for class org.tbull.util.StringBuilderWriter
Creates a new stringbuilder writer.
StringBuilderWriter(int) - Constructor for class org.tbull.util.StringBuilderWriter
Creates a new stringbuilder writer using the specified initial capacity.
StringBuilderWriter(StringBuilder) - Constructor for class org.tbull.util.StringBuilderWriter
Creates a new stringbuilder writer using the supplied StringBuilder instead of creating a new one.
subSequence(int, int) - Method in class org.tbull.util.StringBuilderWriter
 

T

toString() - Method in class org.tbull.util.dev.IndentableLineBuffer
Returns all lines in the LineBuffer as String, separated by newlines.
toString() - Method in class org.tbull.util.StringBuilderWriter
Returns the results of the operation so far.

W

write(int) - Method in class org.tbull.util.StringBuilderWriter
 
write(char[], int, int) - Method in class org.tbull.util.StringBuilderWriter
 
write(String) - Method in class org.tbull.util.StringBuilderWriter
 
write(String, int, int) - Method in class org.tbull.util.StringBuilderWriter
 

A C D F G H I L M N O R S T W