Index

A C D E F G H I L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addPredicate(Predicate<T>) - Method in class utils.MultiComparator
Adds a predicate to the list of predicates to be used when comparing.
addPredicate(Predicate<T>, int) - Method in class utils.MultiComparator
Adds a predicate to the list of predicates to be used when comparing.
ANY - Static variable in class utils.Range
A range between 0 and infinity.
at(int) - Method in class utils.LoopPool
Returns the element at the given relative index.
AT_LEAST_ONE - Static variable in class utils.Range
A range between 1 and infinity.
atRandomIndex(T...) - Static method in class utils.LoopPool
Creates a new LoopPool with the given elements.

C

center(String, int) - Static method in class utils.UtlString
Centers a string in a given width.
center(String, int, char) - Static method in class utils.UtlString
Centers a string in a given width.
compare(T, T) - Method in class utils.MultiComparator
Compares the two objects given using the predicates added to this comparator.
contains(int, boolean, boolean) - Method in class utils.Range
Returns true if the given value is in the range.
containsExclusive(int) - Method in class utils.Range
Returns true if the given value is in the range, exclusive.
containsInclusive(int) - Method in class utils.Range
Returns true if the given value is in the range, inclusive.
current() - Method in class utils.LoopPool
Returns the current element in the sequence.

D

DisallowedInstantiationException - Error in utils.exceptions
Represents an exception thrown when an attempt is made to instantiate a class that should not be instantiated.
DisallowedInstantiationException(Class<?>) - Constructor for error utils.exceptions.DisallowedInstantiationException
 

E

empty() - Static method in class utils.ModifyRecord
Creates a new empty ModifyRecord.
end() - Method in class utils.Range
Returns the end value, or Integer.MAX_VALUE if the range is infinite.
equals(Object) - Method in record class utils.Pair
Indicates whether some other object is "equal to" this one.
ESCAPE_CHAR - Static variable in class utils.UtlString
Escape character used for terminal formatting
escapeQuotes(String) - Static method in class utils.UtlString
Replaces all quotes in the given string with escaped quotes.

F

first() - Method in record class utils.Pair
Returns the value of the first record component.
from(int) - Static method in class utils.Range
Creates a new range builder with the given start value.

G

get() - Method in class utils.ModifyRecord
Returns the value stored in the ModifyRecord.
getIndex() - Method in class utils.LoopPool
Returns the internal index.
getLengthIgnoreSequences(String) - Static method in class utils.UtlString
Returns the length of the string, ignoring any formatting sequences.
getLongestLine(String) - Static method in class utils.UtlString
Get the longest line from the contents of a string.
getMessage(String) - Method in class utils.Range
Returns a string representation of the range, such as "from 3 to 5 times", or "3 times".
getRepresentation() - Method in class utils.Range
Returns a string representation of the range, such as "{3, 5}" or "{3}".
getSimpleName(Class<?>) - Static method in class utils.UtlReflection
Returns the simple name of the given class.

H

hashCode() - Method in record class utils.Pair
Returns a hash code value for this object.
hasParameters(Method, Class<?>...) - Static method in class utils.UtlReflection
Returns true if the given parameter types are assignable to the parameter types of the given method.

I

indent(String, int) - Static method in class utils.UtlString
Adds padCount space characters at the left of the string.
indent(String, int, char) - Static method in class utils.UtlString
Adds padCount characters (specified with padChar) at the left of the string.
instantiate(Class<T>) - Static method in class utils.UtlReflection
Instantiates the given class with a no-argument constructor.
instantiate(Class<T>, List<? extends Class<?>>, List<Object>) - Static method in class utils.UtlReflection
Instantiates the given class with the given arguments.
instantiate(Class<T>, List<Object>) - Static method in class utils.UtlReflection
Instantiates the given class with the given arguments.
isInfinite() - Method in class utils.Range
Returns true if the end value is infinity.
isModified() - Method in class utils.ModifyRecord
Returns true if the value has been modified.
isNullOrBlank(String) - Static method in class utils.UtlString
Returns true if the string given is null or blank.
isNullOrEmpty(String) - Static method in class utils.UtlString
Returns true if the string given is null or empty.
isSimple() - Method in class utils.Range
Returns true if this is representing a single value.
isZero() - Method in class utils.Range
Returns true if the range is 0.
iterator() - Method in class utils.Range
Returns an iterator that iterates over the range.
iterator(boolean, boolean) - Method in class utils.Range
Returns an iterator that iterates over the range.

L

LoopPool<T> - Class in utils
A sequence of elements that can be looped through.

M

ModifyRecord<T> - Class in utils
Provides a way to see if the inner value has been modified since the constructor was called.
MultiComparator<T> - Class in utils
A class that allows you to compare two objects using a list of predicates.
MultiComparator() - Constructor for class utils.MultiComparator
 

N

next() - Method in class utils.LoopPool
Returns the next element in the sequence and increments the internal index.
NONE - Static variable in class utils.Range
A range of 0.
NONE_OR_ONE - Static variable in class utils.Range
A range between 0 and 1.

O

of(int) - Static method in class utils.Range
Creates a new single-value range with the given value.
of(int, T...) - Static method in class utils.LoopPool
Creates a new LoopPool with the given elements.
of(T) - Static method in class utils.ModifyRecord
Creates a new ModifyRecord with the given value.
of(T...) - Static method in class utils.LoopPool
Creates a new LoopPool with the given elements.
offset(int) - Method in class utils.Range
Offsets both the start and end values by the given offset.
ONE - Static variable in class utils.Range
A range of 1.

P

Pair<TFirst,TSecond> - Record Class in utils
A record that stores two objects.
Pair(TFirst, TSecond) - Constructor for record class utils.Pair
Creates an instance of a Pair record class.
plural(String, int) - Static method in class utils.UtlString
Returns the count given appended to the string given.
prev() - Method in class utils.LoopPool
Returns the previous element in the sequence and decrements the internal index.

R

randInt(int) - Static method in class utils.Random
Returns a random integer between 0 and max.
randInt(int, int) - Static method in class utils.Random
Returns a random integer between min and max.
Random - Class in utils
 
Range - Class in utils
A range class to contain a start and end value, or a single value.
Range.RangeBuilder - Class in utils
 
removeSequences(String) - Static method in class utils.UtlString
Remove all formatting colors or format from the string
requireValidName(String) - Static method in class utils.UtlString
Check if a string is a valid name.

S

second() - Method in record class utils.Pair
Returns the value of the second record component.
set(ModifyRecord<T>) - Method in class utils.ModifyRecord
Sets the value to the value provided by the specified ModifyRecord and marks this ModifyRecord as modified.
set(T) - Method in class utils.ModifyRecord
Sets the value to the specified value and marks this ModifyRecord as modified.
setIfNotModified(ModifyRecord<T>) - Method in class utils.ModifyRecord
Sets the value to the specified value if it has not been modified.
setIfNotModified(T) - Method in class utils.ModifyRecord
Sets the value to the specified value if it has not been modified.
setIndex(int) - Method in class utils.LoopPool
Sets the internal index to the given index.
split(String, char) - Static method in class utils.UtlString
split(String, char, int) with max set to -1.
split(String, char, int) - Static method in class utils.UtlString
Split a string by the given splitter.
split(String, String, int) - Static method in class utils.UtlString
Split a string by the given splitter.
splitAtLeadingWhitespace(String) - Static method in class utils.UtlString
Returns a pair of strings.
start() - Method in class utils.Range
Returns the start value.

T

to(int) - Method in class utils.Range.RangeBuilder
Sets the end value.
toArray() - Method in class utils.Range
Returns an array of all the values in the range, inclusive.
toArray(boolean, boolean) - Method in class utils.Range
Returns an array of all the values in the range.
toInfinity() - Method in class utils.Range.RangeBuilder
Sets the end value to infinity.
toString() - Method in class utils.ModifyRecord
 
toString() - Method in record class utils.Pair
Returns a string representation of this record class.
toString() - Method in class utils.Range
 

U

utils - module utils
 
utils - package utils
 
utils.exceptions - package utils.exceptions
 
UtlReflection - Class in utils
 
UtlString - Class in utils
 

W

wrap(String, int) - Static method in class utils.UtlString
Wraps a string into multiple lines in order to fit in the given maximum width.
A C D E F G H I L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form