Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbsoluteFile - Class in de.tomatengames.util.io
-
An AbsoluteFile represents an absolute and direct path to a file.
- AbsolutePath - Class in de.tomatengames.util.io
-
An AbsolutePath represents an absolute and direct
Path. - AbstractEntry<K,
V> - Interface in de.tomatengames.util.map -
Represents a key-value mapping.
- AbstractHashMap<K,
V> - Class in de.tomatengames.util.map -
A
HashMap-like data structure that mapsKkeys to object values. - AbstractHashMap() - Constructor for class de.tomatengames.util.map.AbstractHashMap
-
Creates a new and empty
AbstractHashMap. - AbstractHashMap(AbstractHashMap) - Constructor for class de.tomatengames.util.map.AbstractHashMap
-
Creates a new
AbstractHashMapthat contains all the mappings of the specified map. - accept() - Method in interface de.tomatengames.util.function.VoidConsumerWithThrows
-
Performs this operation.
- accept(boolean) - Method in interface de.tomatengames.util.function.BooleanConsumerWithThrows
-
Performs this operation.
- accept(byte) - Method in interface de.tomatengames.util.function.ByteConsumerWithThrows
-
Performs this operation.
- accept(char) - Method in interface de.tomatengames.util.function.CharConsumerWithThrows
-
Performs this operation.
- accept(double) - Method in interface de.tomatengames.util.function.DoubleConsumerWithThrows
-
Performs this operation.
- accept(float) - Method in interface de.tomatengames.util.function.FloatConsumerWithThrows
-
Performs this operation.
- accept(int) - Method in interface de.tomatengames.util.function.IntConsumerWithThrows
-
Performs this operation.
- accept(long) - Method in interface de.tomatengames.util.function.LongConsumerWithThrows
-
Performs this operation.
- accept(short) - Method in interface de.tomatengames.util.function.ShortConsumerWithThrows
-
Performs this operation.
- accept(I) - Method in interface de.tomatengames.util.function.RefConsumerWithThrows
-
Performs this operation.
- add(boolean[], boolean, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(byte[], byte, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(char[], char, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(double[], double, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(float[], float, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(int[], int, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(long[], long, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(short[], short, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- add(E) - Method in class de.tomatengames.util.data.OrderedHashSet
- add(T[], T, int, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the specified index.
- addAll(ClassLoadReport) - Method in class de.tomatengames.util.ClassLoadReport
-
Merges another
ClassLoadReportinto this report by adding all its results to thisClassLoadReport. - addAll(Collection) - Method in class de.tomatengames.util.data.OrderedHashSet
- addFailedClass(String, Throwable) - Method in class de.tomatengames.util.ClassLoadReport
-
Adds information about a failed class load attempt to the report.
- addFirst(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addFirst(E) - Method in class de.tomatengames.util.data.TrackedDeque
-
Inserts the specified element at the front of this deque.
- addFirst(T[], T, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element to the front.
- addLast(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLast(E) - Method in class de.tomatengames.util.data.TrackedDeque
-
Inserts the specified element at the end of this deque.
- addLast(T[], T, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array and inserts the specified element at the end.
- addLoadedClass(Class) - Method in class de.tomatengames.util.ClassLoadReport
-
Adds a successfully loaded class to the report.
- and(Predicate, Predicate) - Static method in class de.tomatengames.util.PredicateUtil
-
Returns a
Predicatethat represents(pred1.test(t) && pred2.test(t)). - apply() - Method in interface de.tomatengames.util.function.Ref0ToBooleanFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToByteFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToCharFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToDoubleFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToFloatFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToIntFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToLongFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToRefFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToShortFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.Ref0ToVoidFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToBooleanFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToByteFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToCharFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToDoubleFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToFloatFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToIntFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToLongFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToRefFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToShortFunction
-
Applies the function.
- apply() - Method in interface de.tomatengames.util.function.VoidToVoidFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToBooleanFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToByteFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToCharFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToDoubleFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToFloatFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToIntFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToLongFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToRefFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToShortFunction
-
Applies the function.
- apply(boolean) - Method in interface de.tomatengames.util.function.BooleanToVoidFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToBooleanFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToByteFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToCharFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToDoubleFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToFloatFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToIntFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToLongFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToRefFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToShortFunction
-
Applies the function.
- apply(byte) - Method in interface de.tomatengames.util.function.ByteToVoidFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToBooleanFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToByteFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToCharFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToDoubleFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToFloatFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToIntFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToLongFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToRefFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToShortFunction
-
Applies the function.
- apply(char) - Method in interface de.tomatengames.util.function.CharToVoidFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToBooleanFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToByteFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToCharFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToDoubleFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToFloatFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToIntFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToLongFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToRefFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToShortFunction
-
Applies the function.
- apply(double) - Method in interface de.tomatengames.util.function.DoubleToVoidFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToBooleanFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToByteFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToCharFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToDoubleFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToFloatFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToIntFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToLongFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToRefFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToShortFunction
-
Applies the function.
- apply(float) - Method in interface de.tomatengames.util.function.FloatToVoidFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToBooleanFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToByteFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToCharFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToDoubleFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToFloatFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToIntFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToLongFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToRefFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToShortFunction
-
Applies the function.
- apply(int) - Method in interface de.tomatengames.util.function.IntToVoidFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToBooleanFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToByteFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToCharFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToDoubleFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToFloatFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToIntFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToLongFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToRefFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToShortFunction
-
Applies the function.
- apply(long) - Method in interface de.tomatengames.util.function.LongToVoidFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToBooleanFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToByteFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToCharFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToDoubleFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToFloatFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToIntFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToLongFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToRefFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToShortFunction
-
Applies the function.
- apply(short) - Method in interface de.tomatengames.util.function.ShortToVoidFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToBooleanFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToByteFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToCharFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToDoubleFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToFloatFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToIntFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToLongFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToRefFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToShortFunction
-
Applies the function.
- apply(A) - Method in interface de.tomatengames.util.function.Ref1ToVoidFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToBooleanFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToByteFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToCharFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToDoubleFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToFloatFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToIntFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToLongFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToRefFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToShortFunction
-
Applies the function.
- apply(A, B) - Method in interface de.tomatengames.util.function.Ref2ToVoidFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToBooleanFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToByteFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToCharFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToDoubleFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToFloatFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToIntFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToLongFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToRefFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToShortFunction
-
Applies the function.
- apply(A, B, C) - Method in interface de.tomatengames.util.function.Ref3ToVoidFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToByteFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToCharFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToFloatFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToIntFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToLongFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToRefFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToShortFunction
-
Applies the function.
- apply(A, B, C, D) - Method in interface de.tomatengames.util.function.Ref4ToVoidFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToByteFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToCharFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToFloatFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToIntFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToLongFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToRefFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToShortFunction
-
Applies the function.
- apply(A, B, C, D, E) - Method in interface de.tomatengames.util.function.Ref5ToVoidFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToByteFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToCharFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToFloatFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToIntFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToLongFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToRefFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToShortFunction
-
Applies the function.
- apply(A, B, C, D, E, F) - Method in interface de.tomatengames.util.function.Ref6ToVoidFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToByteFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToCharFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToFloatFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToIntFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToLongFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToRefFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToShortFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G) - Method in interface de.tomatengames.util.function.Ref7ToVoidFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToByteFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToCharFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToFloatFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToIntFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToLongFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToRefFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToShortFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H) - Method in interface de.tomatengames.util.function.Ref8ToVoidFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToBooleanFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToByteFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToCharFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToDoubleFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToFloatFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToIntFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToLongFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToRefFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToShortFunction
-
Applies the function.
- apply(A, B, C, D, E, F, G, H, I) - Method in interface de.tomatengames.util.function.Ref9ToVoidFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToBooleanFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToByteFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToCharFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToDoubleFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToFloatFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToIntFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToLongFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToRefFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToShortFunction
-
Applies the function.
- apply(I) - Method in interface de.tomatengames.util.function.RefToVoidFunction
-
Applies the function.
- ArrayUtil - Class in de.tomatengames.util
-
Provides methods to work with arrays.
- assertBinaryFile(byte[], Path, String) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the binary file exists and matches the specified byte array.
- assertBinaryFile(String, Path, String) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the binary file exists and matches the hexadecimal string.
- assertFileExecutable(Path, String) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the specified file is executable.
- assertFileExists(boolean, Path, String) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the specified file exists if and only if
expectedExistsistrue. - assertFileTree(Path, Path) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that both specified files or directories are recursively equal.
- assertFileTree(Path, Path, Predicate) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that both specified files or directories are recursively equal.
- assertOutputStream(byte[], RefConsumerWithThrows) - Static method in class de.tomatengames.util.TestUtil
-
Runs the specified action on a new
OutputStreamand asserts that the bytes written to the output stream match the expected bytes. - assertOutputStream(String, RefConsumerWithThrows) - Static method in class de.tomatengames.util.TestUtil
-
Runs the specified action on a new
OutputStreamand asserts that the bytes written to the output stream match the expected hexadecimal string. - assertOutputStream(String, ByteArrayOutputStream) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the bytes written to the output stream match the expected hexadecimal string.
- assertOutputStreamThrows(Class, RefConsumerWithThrows) - Static method in class de.tomatengames.util.TestUtil
-
Runs the specified action on a new
OutputStreamand asserts that aThrowableof the specified type is thrown. - assertTextFile(String, Path, String) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the specified text file exists and contains the specified text.
- assertThrowsWithMessage(Class, String, VoidConsumerWithThrows) - Static method in class de.tomatengames.util.TestUtil
-
Asserts that the given executor throws an exception of the expected type with the expected message.
B
- base32ToBytes(char[], OutputStream) - Static method in class de.tomatengames.util.Base32Util
-
Writes the bytes represented by the specified Base32 string into the
OutputStream. - base32ToBytes(String) - Static method in class de.tomatengames.util.Base32Util
-
Converts the specified Base32 string into a byte array.
- Base32Util - Class in de.tomatengames.util
-
Provides methods to convert between a byte array and Base32.
- BezierUtil - Class in de.tomatengames.util
-
Provides utilities to work with cubic Bézier curves.
- BooleanConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
boolean. - BooleanToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns aboolean. - BooleanToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns abyte. - BooleanToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns achar. - BooleanToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns adouble. - BooleanToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns afloat. - BooleanToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns anint. - BooleanToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns along. - BooleanToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns anObject. - BooleanToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns ashort. - BooleanToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
booleanand returns nothing. - ByteConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
byte. - BytePool - Interface in de.tomatengames.util.pool
-
Represents a pool for byte arrays.
- bytesToBase32(byte[], boolean) - Static method in class de.tomatengames.util.Base32Util
-
Converts the specified byte array to a Base32 string.
- bytesToHex(byte[]) - Static method in class de.tomatengames.util.HexUtil
-
Converts the specified byte array into a hexadecimal string.
- ByteToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns aboolean. - ByteToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns abyte. - ByteToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns achar. - ByteToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns adouble. - ByteToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns afloat. - byteToHex(int) - Static method in class de.tomatengames.util.HexUtil
-
Converts the 8 least significant bits of the specified
intinto a hexadecimal string. - ByteToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns anint. - ByteToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns along. - ByteToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns anObject. - ByteToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns ashort. - ByteToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
byteand returns nothing. - ByteUnpool - Class in de.tomatengames.util.pool
-
Represents an implementation of
BytePoolthat does not reuse byte arrays. - ByteUnpool() - Constructor for class de.tomatengames.util.pool.ByteUnpool
-
Creates a new
ByteUnpool.
C
- capacity() - Method in class de.tomatengames.util.pool.LinkedPool
-
Returns the maximum capacity of the pool.
- CharacterDecodeException - Exception Class in de.tomatengames.util.exception
-
An
IOExceptionthat indicates that a character could not be decoded. - CharacterDecodeException() - Constructor for exception class de.tomatengames.util.exception.CharacterDecodeException
-
Creates a new
CharacterDecodeException. - CharacterDecodeException(String) - Constructor for exception class de.tomatengames.util.exception.CharacterDecodeException
-
Creates a new
CharacterDecodeException. - CharacterDecodeException(String, Throwable) - Constructor for exception class de.tomatengames.util.exception.CharacterDecodeException
-
Creates a new
CharacterDecodeException. - CharacterDecodeException(Throwable) - Constructor for exception class de.tomatengames.util.exception.CharacterDecodeException
-
Creates a new
CharacterDecodeException. - CharConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
char. - CharsetUtil - Class in de.tomatengames.util
-
Provides utilities to work with character encodings.
- CharToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns aboolean. - CharToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns abyte. - CharToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns achar. - CharToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns adouble. - CharToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns afloat. - CharToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns anint. - CharToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns along. - CharToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns anObject. - CharToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns ashort. - CharToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
charand returns nothing. - claim() - Method in class de.tomatengames.util.pool.LinkedPool
- claim() - Method in interface de.tomatengames.util.pool.Pool
-
Claims an instance of
Pooledfrom the pool. - claim() - Method in class de.tomatengames.util.pool.Unpool
-
Claims a new instance of type
Eby using the underlying supplier. - claim(int) - Method in interface de.tomatengames.util.pool.BytePool
-
Claims a byte array that is at least as long as the specified minimum length.
- claim(int) - Method in class de.tomatengames.util.pool.ByteUnpool
- claim(int) - Method in class de.tomatengames.util.pool.LevelBytePool
- claim(int) - Method in class de.tomatengames.util.pool.ZeroBytePool
- Class(String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get a class by its name, wraps
Class.forName(String). - ClassLoadError(String, Throwable) - Constructor for class de.tomatengames.util.ClassLoadReport.ClassLoadError
-
Constructs a new
ClassLoadErrorfrom the provided information. - ClassLoadReport - Class in de.tomatengames.util
-
A ClassLoadReport captures the results of attempting to load various classes, including both successful loads and failures.
- ClassLoadReport() - Constructor for class de.tomatengames.util.ClassLoadReport
-
Constructs a new, empty
ClassLoadReport. - ClassLoadReport.ClassLoadError - Class in de.tomatengames.util
-
A ClassLoadError represents a failed class loading attempt.
- ClassLoadUtil - Class in de.tomatengames.util
-
Provides utility methods related to class loading.
- clean() - Method in class de.tomatengames.util.pool.LevelBytePool
-
Cleans all pools by reducing their sizes to the minimum size recorded since the last clean operation.
- clean() - Method in class de.tomatengames.util.pool.LinkedPool
-
Cleans up the pool by reducing its size to the minimum size recorded since the last clean operation.
- cleanDirectory(Path) - Static method in class de.tomatengames.util.IOUtil
-
Deletes all files and directories inside the specified directory recursively.
- cleanDirectory(Path, Predicate) - Static method in class de.tomatengames.util.IOUtil
-
Deletes files and directories inside the specified directory recursively.
- clear() - Method in class de.tomatengames.util.data.OrderedHashSet
- clear() - Method in class de.tomatengames.util.data.TrackedDeque
-
Removes all elements from this deque.
- clear() - Method in class de.tomatengames.util.data.TrackedHeap
-
Removes all elements from this heap.
- clear() - Method in class de.tomatengames.util.map.AbstractHashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.Int2HashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.Int3HashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.IntHashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.Long2HashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.Long3HashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.LongHashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Removes all entries from this map.
- clear() - Method in class de.tomatengames.util.PathfinderUtil.PositionMap
- close() - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Closes the environment.
- close() - Method in class de.tomatengames.util.io.UTF8Reader
- close() - Method in interface de.tomatengames.util.pool.Pooled
-
Equivalent to
Pooled.free()for convenience. - compareNumberPreserving(String, String) - Static method in class de.tomatengames.util.SortUtil
-
Compares the specified strings case-insensitive.
- concat(boolean[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(boolean[], boolean[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(byte[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(byte[], byte[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(char[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(char[], char[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(double[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(double[], double[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(float[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(float[], float[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(int[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(int[], int[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(long[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(long[], long[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(short[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(short[], short[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- concat(IntFunction, T[]...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates all specified arrays.
- concat(Supplier, Collection...) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates the specified collections to a single one.
- concat(T[], T[], IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Concatenates both arrays.
- construct(Class, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Constructs a new object of the given class using a matching constructor.
- construct(Constructor) - Static method in class de.tomatengames.util.ReflectionUtil
-
Constructs a new object using the given constructor and no parameters.
- construct(Constructor, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Constructs a new object using the given constructor and constructor parameters, wraps
Constructor.newInstance(Object...). - construct(String, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Constructs a new object of the given class name using a matching constructor.
- constructor(Class, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get a constructor by its parameter types, wraps
Class.getDeclaredConstructor(Class...). - contains(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- contains(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Returns if this heap contains the specified element.
- contains(TrackedDeque.Element) - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns if the deque contains the specified element.
- contains(AbsoluteFile) - Method in class de.tomatengames.util.io.AbsoluteFile
-
AbsoluteFile.contains(AbsoluteFile, boolean)with allowSame=false. - contains(AbsoluteFile, boolean) - Method in class de.tomatengames.util.io.AbsoluteFile
-
Returns whether the specified file is inside this file.
- contains(AbsolutePath) - Method in class de.tomatengames.util.io.AbsolutePath
-
AbsolutePath.contains(AbsolutePath, boolean)with allowSame=false. - contains(AbsolutePath, boolean) - Method in class de.tomatengames.util.io.AbsolutePath
-
Returns whether the specified path is inside this path.
- contains(Object) - Method in class de.tomatengames.util.data.OrderedHashSet
- contains(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains the specified element.
- containsAll(Collection) - Method in class de.tomatengames.util.data.OrderedHashSet
- containsEqual(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns if the specified array contains an element that is equal to the specified element.
- containsIgnoreCase(String, String) - Static method in class de.tomatengames.util.StringUtil
-
Returns if the string contains the specified substring.
- containsKey(int) - Method in class de.tomatengames.util.map.IntHashMap
-
Returns if the specified key is present in this map.
- containsKey(int, int) - Method in class de.tomatengames.util.map.Int2HashMap
-
Returns if the specified key is present in this map.
- containsKey(int, int, int) - Method in class de.tomatengames.util.map.Int3HashMap
-
Returns if the specified key is present in this map.
- containsKey(long) - Method in class de.tomatengames.util.map.LongHashMap
-
Returns if the specified key is present in this map.
- containsKey(long, long) - Method in class de.tomatengames.util.map.Long2HashMap
-
Returns if the specified key is present in this map.
- containsKey(long, long, long) - Method in class de.tomatengames.util.map.Long3HashMap
-
Returns if the specified key is present in this map.
- containsKey(Object) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns if the specified key is present in this map.
- containsKey(K) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Returns if the specified key is present in this map.
- cost - Variable in class de.tomatengames.util.PathfinderUtil.PathNode
-
Initially the cost of the single step that separates this PathNode from its original PathNode.
- count(String, char) - Static method in class de.tomatengames.util.StringUtil
-
Counts the amount of characters in the string that are equal to the specified character.
- count(String, IntPredicate) - Static method in class de.tomatengames.util.StringUtil
-
Counts the amount of characters in the string that match the predicate.
- countFront(String, char) - Static method in class de.tomatengames.util.StringUtil
-
Counts the amount of characters at the beginning of the string that are equal to the specified character.
- countFront(String, IntPredicate) - Static method in class de.tomatengames.util.StringUtil
-
Counts the amount of characters at the beginning of the string that match the predicate.
- CountingInputStream - Class in de.tomatengames.util.io
-
A
FilterInputStreamthat counts the bytes read from it. - CountingInputStream(InputStream) - Constructor for class de.tomatengames.util.io.CountingInputStream
-
Creates a new
CountingInputStream. - CountingOutputStream - Class in de.tomatengames.util.io
-
A
FilterOutputStreamthat counts the amount of bytes written to it. - CountingOutputStream(OutputStream) - Constructor for class de.tomatengames.util.io.CountingOutputStream
-
Creates a new
CountingOutputStream.
D
- de.tomatengames.util - package de.tomatengames.util
- de.tomatengames.util.annotation - package de.tomatengames.util.annotation
- de.tomatengames.util.data - package de.tomatengames.util.data
- de.tomatengames.util.exception - package de.tomatengames.util.exception
- de.tomatengames.util.function - package de.tomatengames.util.function
- de.tomatengames.util.injector - package de.tomatengames.util.injector
- de.tomatengames.util.io - package de.tomatengames.util.io
- de.tomatengames.util.linked - package de.tomatengames.util.linked
- de.tomatengames.util.map - package de.tomatengames.util.map
- de.tomatengames.util.pool - package de.tomatengames.util.pool
- decodeUTF8(InputStream) - Static method in class de.tomatengames.util.CharsetUtil
-
Decodes one UTF-8 code point from the
InputStream. - decrease(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Moves the specified element to its position in the heap if it decreased.
- delete(Path) - Static method in class de.tomatengames.util.IOUtil
-
Deletes the specified path.
- DoubleConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
double. - DoubleToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns aboolean. - DoubleToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns abyte. - DoubleToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns achar. - DoubleToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns adouble. - DoubleToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns afloat. - DoubleToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns anint. - DoubleToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns along. - DoubleToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns anObject. - DoubleToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns ashort. - DoubleToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
doubleand returns nothing.
E
- Element() - Constructor for class de.tomatengames.util.data.TrackedDeque.Element
-
Creates a new
TrackedDeque.Element. - Element() - Constructor for class de.tomatengames.util.data.TrackedHeap.Element
-
Creates a new
TrackedHeap.Element. - ElementReader<T> - Interface in de.tomatengames.util
-
An
ElementReaderspecifies how to read an object from anInputStream. - elementToFirstIterator(E) - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns an iterator over the elements of this deque in order from last to first, starting at the specified element.
- elementToLastIterator(E) - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns an iterator over the elements of this deque in order from first to last, starting at the specified element.
- ElementWriter<T> - Interface in de.tomatengames.util
-
An
ElementWriterspecifies how to write an object to anOutputStream. - encodeUTF8(int) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified Unicode code point using UTF-8.
- encodeUTF8(int, byte[], int) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified Unicode code point using UTF-8 and writes the result into the output array at the specified offset.
- encodeUTF8(int, OutputStream) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified Unicode code point using UTF-8 and writes the result into the
OutputStream. - encodeUTF8(String, byte[], int) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified
Stringusing UTF-8 and writes the result into the byte array. - encodeUTF8(String, OutputStream) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified
Stringusing UTF-8 and writes the result into theOutputStream. - encodeUTF8(String, OutputStream, byte[]) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified
Stringusing UTF-8 and writes the result into theOutputStream. - encodeUTF8(String, OutputStream, long) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified
Stringusing UTF-8 and writes the result into theOutputStream. - encodeUTF8(String, OutputStream, long, byte[]) - Static method in class de.tomatengames.util.CharsetUtil
-
Encodes the specified
Stringusing UTF-8 and writes the result into theOutputStream. - endsWithIgnoreCase(String, String) - Static method in class de.tomatengames.util.StringUtil
-
Returns if the string ends with the specified suffix.
- equals(Object) - Method in class de.tomatengames.util.data.OrderedHashSet
-
Returns whether this OrderedHashSet is equal to the given other object.
- equals(Object) - Method in class de.tomatengames.util.injector.InjectionKey
- equals(Object) - Method in class de.tomatengames.util.map.AbstractHashMap
- equals(Object) - Method in class de.tomatengames.util.map.Int2HashMap
- equals(Object) - Method in class de.tomatengames.util.map.Int3HashMap
- equals(Object) - Method in class de.tomatengames.util.map.IntHashMap
- equals(Object) - Method in class de.tomatengames.util.map.Long2HashMap
- equals(Object) - Method in class de.tomatengames.util.map.Long3HashMap
- equals(Object) - Method in class de.tomatengames.util.map.LongHashMap
- equals(Object) - Method in class de.tomatengames.util.map.OrderedHashMap
- estimateFullCost - Variable in class de.tomatengames.util.PathfinderUtil.PathNode
-
Is set to the estimated total cost from the startpoint to the goal going over this PathNode.
- estimateRemainingCost(N) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Estimates the remaining cost to reach the goal from the provided node.
- eval(double, double, double, double, double, double, double, double, double, double) - Static method in class de.tomatengames.util.BezierUtil
-
Evaluates the cubic Bézier curve defined by the parameters
p1, c1, c2, p2at the specifiedxposition. - evalDeCasteljau(double, double, double, double, double) - Static method in class de.tomatengames.util.BezierUtil
-
Runs the De-Casteljau algorithm to evaluate the cubic Bézier curve defined by the parameters
p1, c1, c2, p2att. - execGet(String...) - Static method in class de.tomatengames.util.ExecUtil
-
Starts a process using
Runtime.exec(String[]), and waits for the process to terminate. - execGet(String[], String[], File, byte[]) - Static method in class de.tomatengames.util.ExecUtil
-
Starts a process using
Runtime.exec(String[], String[], File), and waits for the process to terminate. - execGetOutput(String...) - Static method in class de.tomatengames.util.ExecUtil
-
Starts a process using
Runtime.exec(String[]), and waits for the process to terminate. - execGetOutput(String[], String[], File) - Static method in class de.tomatengames.util.ExecUtil
-
Starts a process using
Runtime.exec(String[], String[], File), and waits for the process to terminate. - ExecGetResult - Class in de.tomatengames.util
-
The result of a get process.
- ExecUtil - Class in de.tomatengames.util
-
Provides methods to run subprocesses.
- extractZIP(File, Path) - Static method in class de.tomatengames.util.ZipUtil
-
Extracts the entries of the specified ZIP file into the specified target directory.
- extractZIP(ZipFile, Path) - Static method in class de.tomatengames.util.ZipUtil
-
Extracts the entries of the specified ZIP file into the specified target directory.
F
- field(Class, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get a class field by its name, wraps
Class.getDeclaredField(String). - fileToHex(Path) - Static method in class de.tomatengames.util.HexUtil
-
Reads the specified file and returns its content as a hex string.
- find(N, boolean, PathfinderUtil.PositionMap, PathfinderUtil.World) - Static method in class de.tomatengames.util.PathfinderUtil
-
Finds a goal from the provided startpoint, using the provided
PathfinderUtil.Worldto traverse the environment. - find(N, PathfinderUtil.World) - Static method in class de.tomatengames.util.PathfinderUtil
-
Finds a goal from the provided startpoint, using the provided
PathfinderUtil.Worldto traverse the environment. - findConstructor(Class, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
ReflectionUtil.searchConstructor(Class, Class...)but throws an exception if no constructor is found. - findField(Class, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
ReflectionUtil.searchField(Class, String)but throws an exception when no field is found. - findMethod(Class, String, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
ReflectionUtil.searchMethod(Class, String, Class...)but throws an exception if no method is found. - firstToLastIterator() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns an iterator over the elements of this deque in order from first to last.
- FloatConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
float. - FloatToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns aboolean. - FloatToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns abyte. - FloatToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns achar. - FloatToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns adouble. - FloatToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns afloat. - FloatToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns anint. - FloatToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns along. - FloatToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns anObject. - FloatToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns ashort. - FloatToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
floatand returns nothing. - forEach(Consumer) - Method in class de.tomatengames.util.map.AbstractHashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.Int2HashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.Int3HashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.IntHashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.Long2HashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.Long3HashMap
- forEach(Consumer) - Method in class de.tomatengames.util.map.LongHashMap
- forEach(Consumer) - Method in class de.tomatengames.util.data.TrackedDeque
-
Calls the provided action for each element in the deque, starting from the first element.
- forEach(Consumer) - Method in class de.tomatengames.util.map.OrderedHashMap
- forEach(Consumer) - Method in class de.tomatengames.util.PathfinderUtil.PositionMap
- free() - Method in interface de.tomatengames.util.pool.Pooled
-
Returns the object back to the pool, making it available for reuse.
- fromBase32Char(char) - Static method in class de.tomatengames.util.Base32Util
-
Converts the specified Base32 character to the 5 bit integer it represents.
G
- get() - Method in class de.tomatengames.util.linked.Linked
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedBoolean
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedByte
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedChar
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedDouble
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedFloat
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedInt
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedLong
-
Returns the value of this object.
- get() - Method in class de.tomatengames.util.linked.LinkedShort
-
Returns the value of this object.
- get() - Method in interface de.tomatengames.util.pool.Pooled
-
Retrieves the underlying object managed by this
Pooledinstance. - get(int) - Method in class de.tomatengames.util.map.IntHashMap
-
Returns the value that is mapped to the specified key.
- get(int, int) - Method in class de.tomatengames.util.map.Int2HashMap
-
Returns the value that is mapped to the specified key.
- get(int, int, int) - Method in class de.tomatengames.util.map.Int3HashMap
-
Returns the value that is mapped to the specified key.
- get(long) - Method in class de.tomatengames.util.map.LongHashMap
-
Returns the value that is mapped to the specified key.
- get(long, long) - Method in class de.tomatengames.util.map.Long2HashMap
-
Returns the value that is mapped to the specified key.
- get(long, long, long) - Method in class de.tomatengames.util.map.Long3HashMap
-
Returns the value that is mapped to the specified key.
- get(File) - Static method in class de.tomatengames.util.io.AbsoluteFile
-
Returns an
AbsoluteFilethat represents theFile.getCanonicalPath()of the specified file. - get(Object) - Method in interface de.tomatengames.util.injector.InjectionProviderFunction
-
Returns the injection value for the given key.
- get(Object, Class, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the field of the given class and name in the given object.
- get(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as an Object, wraps
Field.get(Object). - get(Object, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the field of the given name in the given object.
- get(String) - Static method in class de.tomatengames.util.HashUtil
-
Returns a
MessageDigestobject that implements the specified algorithm. - get(String) - Static method in class de.tomatengames.util.io.AbsoluteFile
-
Returns an
AbsoluteFilethat represents theFile.getCanonicalPath()of the specified file. - get(String) - Static method in class de.tomatengames.util.io.AbsolutePath
-
Returns an
AbsolutePaththat represents the absolute and direct equivalentPath. - get(String) - Static method in class de.tomatengames.util.Undepender
-
Deprecated.
- get(Path) - Static method in class de.tomatengames.util.io.AbsolutePath
-
Returns an
AbsolutePaththat represents the absolute and direct equivalentPath. - get(K) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Returns the value that is mapped to the specified key.
- get(K) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns the value that is mapped to the specified key.
- get(N) - Method in class de.tomatengames.util.PathfinderUtil.PositionMap
- getAllClassNames(ZipFile) - Static method in class de.tomatengames.util.ClassLoadUtil
-
Retrieves all fully qualified class names from the specified JAR file by scanning it for entries whose name ends with ".class".
- getBoolean(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a boolean, wraps
Field.getBoolean(Object). - getByte(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a byte, wraps
Field.getByte(Object). - getByteCount() - Method in class de.tomatengames.util.io.CountingInputStream
-
Returns the number of read bytes.
- getByteCount() - Method in class de.tomatengames.util.io.CountingOutputStream
-
Returns the amount of bytes written to this stream.
- getChar(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a char, wraps
Field.getChar(Object). - getClassName() - Method in class de.tomatengames.util.ClassLoadReport.ClassLoadError
-
Returns the fully qualified name of the class that failed to load.
- getDouble(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a double, wraps
Field.getDouble(Object). - getError() - Method in class de.tomatengames.util.ClassLoadReport.ClassLoadError
-
Returns the exception or error that occurred during class loading.
- getError() - Method in class de.tomatengames.util.ExecGetResult
-
Deprecated.
- getErrorBytes() - Method in class de.tomatengames.util.ExecGetResult
-
Returns the error output of the process.
- getErrorString() - Method in class de.tomatengames.util.ExecGetResult
-
Returns the error output of the process as a string using the default charset.
- getExitValue() - Method in class de.tomatengames.util.ExecGetResult
-
Returns the exit value of the process.
- getFailedClasses() - Method in class de.tomatengames.util.ClassLoadReport
-
Returns a list of all failed class load attempts.
- getFailedClassesMap() - Method in class de.tomatengames.util.ClassLoadReport
-
Returns a map of the failed class load attempts where the key is the class name and the value is the corresponding
Throwableerror. - getFile() - Method in class de.tomatengames.util.io.AbsoluteFile
-
Returns a
Filethat represents this file. - getFirst() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Returns the first element added to this set, or throws a
NoSuchElementExceptionif this set is empty. - getFirst() - Method in class de.tomatengames.util.data.TrackedHeap
-
Returns the first element of this heap.
- getFirst() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns the first entry in this ordered map.
- getFloat(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a float, wraps
Field.getFloat(Object). - getHmacMD5(byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Returns a new
Macobject that implements the HMAC-MD5 algorithm using the specified key. - getHmacSHA1(byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Returns a new
Macobject that implements the HMAC-SHA1 algorithm using the specified key. - getHmacSHA256(byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Returns a new
Macobject that implements the HMAC-SHA256 algorithm using the specified key. - getHmacSHA512(byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Returns a new
Macobject that implements the HMAC-SHA512 algorithm using the specified key. - getInjectionMap() - Method in class de.tomatengames.util.injector.InjectionEnvironment
- getInjectionMap() - Method in class de.tomatengames.util.injector.InjectionProvider
- getInt(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as an int, wraps
Field.getInt(Object). - getKey() - Method in interface de.tomatengames.util.map.AbstractEntry
-
Returns the component 'key' of the key of this mapping.
- getKey() - Method in interface de.tomatengames.util.map.IntEntry
-
Returns the component 'key' of the key of this mapping.
- getKey() - Method in interface de.tomatengames.util.map.LongEntry
-
Returns the component 'key' of the key of this mapping.
- getKey1() - Method in interface de.tomatengames.util.map.Int2Entry
-
Returns the key of this mapping.
- getKey1() - Method in interface de.tomatengames.util.map.Int3Entry
-
Returns the key of this mapping.
- getKey1() - Method in interface de.tomatengames.util.map.Long2Entry
-
Returns the key of this mapping.
- getKey1() - Method in interface de.tomatengames.util.map.Long3Entry
-
Returns the key of this mapping.
- getKey2() - Method in interface de.tomatengames.util.map.Int2Entry
-
Returns the key of this mapping.
- getKey2() - Method in interface de.tomatengames.util.map.Int3Entry
-
Returns the key of this mapping.
- getKey2() - Method in interface de.tomatengames.util.map.Long2Entry
-
Returns the key of this mapping.
- getKey2() - Method in interface de.tomatengames.util.map.Long3Entry
-
Returns the key of this mapping.
- getKey3() - Method in interface de.tomatengames.util.map.Int3Entry
-
Returns the key of this mapping.
- getKey3() - Method in interface de.tomatengames.util.map.Long3Entry
-
Returns the key of this mapping.
- getLast() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Returns the last element added to this set, or throws a
NoSuchElementExceptionif this set is empty. - getLast() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns the last entry in this ordered map.
- getLoadedClasses() - Method in class de.tomatengames.util.ClassLoadReport
-
Returns a list of all successfully loaded classes.
- getLong(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a long, wraps
Field.getLong(Object). - getMac(String, byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Returns a
Macobject that implements the specified algorithm using the specified key. - getMD5() - Static method in class de.tomatengames.util.HashUtil
-
Returns a
MessageDigestobject that implements the MD5 algorithm. - getOutput() - Method in class de.tomatengames.util.ExecGetResult
-
Deprecated.
- getOutputBytes() - Method in class de.tomatengames.util.ExecGetResult
-
Returns the standard output bytes of the process.
- getOutputString() - Method in class de.tomatengames.util.ExecGetResult
-
Returns the standard output of the process as a string using the default charset.
- getPath() - Method in class de.tomatengames.util.io.AbsoluteFile
-
Returns the absolute and direct path that represents this file.
- getPath() - Method in class de.tomatengames.util.io.AbsolutePath
-
Returns this AbsolutePath as a
Path. - getSHA1() - Static method in class de.tomatengames.util.HashUtil
-
Returns a
MessageDigestobject that implements the SHA-1 algorithm. - getSHA256() - Static method in class de.tomatengames.util.HashUtil
-
Returns a
MessageDigestobject that implements the SHA-256 algorithm. - getSHA512() - Static method in class de.tomatengames.util.HashUtil
-
Returns a
MessageDigestobject that implements the SHA-512 algorithm. - getShort(Object, Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given field in the given object as a short, wraps
Field.getShort(Object). - getStatic(Class, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the static field of the given class and name.
- getStatic(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as an Object.
- getStatic(String, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the static field of the given class name and field name.
- getStaticBoolean(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a boolean.
- getStaticByte(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a byte.
- getStaticChar(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a char.
- getStaticDouble(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a double.
- getStaticFloat(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a float.
- getStaticInt(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as an int.
- getStaticLong(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a long.
- getStaticShort(Field) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get the current value of the given static field as a short.
- getValue() - Method in interface de.tomatengames.util.map.AbstractEntry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.Int2Entry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.Int3Entry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.IntEntry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.Long2Entry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.Long3Entry
-
Returns the value of this mapping.
- getValue() - Method in interface de.tomatengames.util.map.LongEntry
-
Returns the value of this mapping.
- getVersion() - Static method in class de.tomatengames.util.TomatenUtil
-
Returns the version of the installed TomatenUtil library.
H
- hash(MessageDigest, byte[]) - Static method in class de.tomatengames.util.HashUtil
-
Calculates the hash of the specified bytes and returns it.
- hash(MessageDigest, byte[]...) - Static method in class de.tomatengames.util.HashUtil
-
Calculates the hash of the specified bytes and returns it.
- hash(MessageDigest, InputStream) - Static method in class de.tomatengames.util.HashUtil
-
Reads data from the input stream and hashes it.
- hash(MessageDigest, Path) - Static method in class de.tomatengames.util.HashUtil
-
Reads the content from the specified file and hashes it.
- hashCode() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Matching the
OrderedHashSet.equals(Object)method of OrderedHashSet, the hash code is similar to those ofLists as the order of the stored elements is relevant. - hashCode() - Method in class de.tomatengames.util.injector.InjectionKey
- hashCode() - Method in class de.tomatengames.util.map.AbstractHashMap
- hashCode() - Method in class de.tomatengames.util.map.Int2HashMap
- hashCode() - Method in class de.tomatengames.util.map.Int3HashMap
- hashCode() - Method in class de.tomatengames.util.map.IntHashMap
- hashCode() - Method in class de.tomatengames.util.map.Long2HashMap
- hashCode() - Method in class de.tomatengames.util.map.Long3HashMap
- hashCode() - Method in class de.tomatengames.util.map.LongHashMap
- hashCode() - Method in class de.tomatengames.util.map.OrderedHashMap
- hashUTF8(MessageDigest, char[]) - Static method in class de.tomatengames.util.HashUtil
-
UTF8-encodes the specified
chararray and hashes it. - hashUTF8(MessageDigest, String) - Static method in class de.tomatengames.util.HashUtil
-
UTF8-encodes the specified
Stringand hashes it. - HashUtil - Class in de.tomatengames.util
-
Provides utilities to work with hashes.
- hexToBytes(String) - Static method in class de.tomatengames.util.HexUtil
-
Reads the specified hexadecimal string into a byte array.
- hexToInt(String) - Static method in class de.tomatengames.util.HexUtil
-
Reads the specified hexadecimal string into an
int. - hexToLong(String) - Static method in class de.tomatengames.util.HexUtil
-
Reads the specified hexadecimal string into a
long. - HexUtil - Class in de.tomatengames.util
-
Provides methods to work with hexadecimal strings.
- HMAC_MD5 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
HMAC-MD5MAC algorithm. - HMAC_SHA1 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
HMAC-SHA1MAC algorithm. - HMAC_SHA256 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
HMAC-SHA256MAC algorithm. - HMAC_SHA512 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
HMAC-SHA512MAC algorithm. - hotp(Mac, long, int) - Static method in class de.tomatengames.util.TOTPUtil
-
Returns the HOTP code resulting from the specified MAC algorithm (e.g.
- hotpFull(Mac, long) - Static method in class de.tomatengames.util.TOTPUtil
-
Returns the full-length HOTP code (10 digits) resulting from the specified MAC algorithm (e.g.
- hotpString(Mac, long, int) - Static method in class de.tomatengames.util.TOTPUtil
I
- identity() - Static method in interface de.tomatengames.util.function.BooleanToBooleanFunction
-
Returns the
booleanidentity function. - identity() - Static method in interface de.tomatengames.util.function.ByteToByteFunction
-
Returns the
byteidentity function. - identity() - Static method in interface de.tomatengames.util.function.CharToCharFunction
-
Returns the
charidentity function. - identity() - Static method in interface de.tomatengames.util.function.DoubleToDoubleFunction
-
Returns the
doubleidentity function. - identity() - Static method in interface de.tomatengames.util.function.FloatToFloatFunction
-
Returns the
floatidentity function. - identity() - Static method in interface de.tomatengames.util.function.IntToIntFunction
-
Returns the
intidentity function. - identity() - Static method in interface de.tomatengames.util.function.LongToLongFunction
-
Returns the
longidentity function. - identity() - Static method in interface de.tomatengames.util.function.RefToRefFunction
-
Returns the
Objectidentity function. - identity() - Static method in interface de.tomatengames.util.function.ShortToShortFunction
-
Returns the
shortidentity function. - increase(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Moves the specified element to its position in the heap if it increased.
- indexOf(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(boolean[], boolean, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(byte[], byte, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(char[], char, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(double[], double, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(float[], float, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(int[], int, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(long[], long, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(short[], short, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOf(String, int, int, String, int, int) - Static method in class de.tomatengames.util.StringUtil
-
Returns the starting index of the first occurrence of the specified part of the pattern in the specified part of the input string.
- indexOf(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of the specified element in the array.
- indexOf(T[], T, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] == elementapplies. - indexOfEqual(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index of an element in the array that is equal to the specified element.
- indexOfEqual(T[], T, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the first index that is greater than or equal to the
startIndexfor whicharray[index] equals elementapplies. - initializeClass(Class) - Static method in class de.tomatengames.util.ClassLoadUtil
-
Runs the static initialization of the specified class if it is not already initialized.
- inject(InjectionKey) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Returns the value provided for the specified key.
- inject(InjectionKey) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key.
- inject(Class) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Returns the value provided for the specified key class.
- inject(Class) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key class.
- inject(String) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Returns the value provided for the specified key.
- inject(String) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key.
- InjectionEnvironment - Class in de.tomatengames.util.injector
-
An InjectionEnvironment is used to provide values for keys for a single thread and limited time period.
- InjectionException - Exception Class in de.tomatengames.util.injector
-
An exception thrown by an
InjectionProvider. - InjectionKey<T> - Class in de.tomatengames.util.injector
-
An InjectionKey can be used as injection key for an
InjectionProvideror forInjector. - InjectionKey() - Constructor for class de.tomatengames.util.injector.InjectionKey
-
Creates a new
InjectionKey. - InjectionKey(String) - Constructor for class de.tomatengames.util.injector.InjectionKey
-
Creates a new
InjectionKey. - InjectionProvider - Class in de.tomatengames.util.injector
-
Allows to provide values and inject them afterward.
- InjectionProvider() - Constructor for class de.tomatengames.util.injector.InjectionProvider
-
Creates a new
InjectionProviderwith no values provided. - InjectionProviderFunction - Interface in de.tomatengames.util.injector
-
A function that provides an injection value for a given key.
- injectOptional(InjectionKey) - Method in class de.tomatengames.util.injector.InjectionProvider
- injectOptional(InjectionKey) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key if it exists.
- injectOptional(Class) - Method in class de.tomatengames.util.injector.InjectionProvider
- injectOptional(Class) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key class if it exists.
- injectOptional(String) - Method in class de.tomatengames.util.injector.InjectionProvider
- injectOptional(String) - Static method in class de.tomatengames.util.injector.Injector
-
Returns the value provided for the specified key if it exists.
- Injector - Class in de.tomatengames.util.injector
-
A single shared
InjectionProviderfor the current runtime, sometimes called "root provider". - insert(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Inserts the specified element into this heap.
- insertNeighbors(N, Collection) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Adds the neighbor nodes of the provided node to the provided Collection.
- Int2Entry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- Int2HashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that maps(int, int)keys to object values. - Int2HashMap() - Constructor for class de.tomatengames.util.map.Int2HashMap
-
Creates a new and empty
Int2HashMap. - Int2HashMap(Int2HashMap) - Constructor for class de.tomatengames.util.map.Int2HashMap
-
Creates a new
Int2HashMapthat contains all the mappings of the specified map. - Int3Entry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- Int3HashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that maps(int, int, int)keys to object values. - Int3HashMap() - Constructor for class de.tomatengames.util.map.Int3HashMap
-
Creates a new and empty
Int3HashMap. - Int3HashMap(Int3HashMap) - Constructor for class de.tomatengames.util.map.Int3HashMap
-
Creates a new
Int3HashMapthat contains all the mappings of the specified map. - IntConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts an
int. - IntEntry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- IntHashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that mapsintkeys to object values. - IntHashMap() - Constructor for class de.tomatengames.util.map.IntHashMap
-
Creates a new and empty
IntHashMap. - IntHashMap(IntHashMap) - Constructor for class de.tomatengames.util.map.IntHashMap
-
Creates a new
IntHashMapthat contains all the mappings of the specified map. - IntToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns aboolean. - IntToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns abyte. - IntToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns achar. - IntToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns adouble. - IntToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns afloat. - intToHex(int) - Static method in class de.tomatengames.util.HexUtil
-
Converts the bits of the specified
intinto a hexadecimal string. - IntToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns anint. - IntToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns along. - IntToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns anObject. - IntToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns ashort. - IntToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts an
intand returns nothing. - IOUtil - Class in de.tomatengames.util
-
Provides utilities for file system interactions and streams.
- isEmpty() - Method in class de.tomatengames.util.data.OrderedHashSet
- isEmpty() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns
trueif this deque contains no elements. - isEmpty() - Method in class de.tomatengames.util.data.TrackedHeap
-
Returns if this heap is empty.
- isEmpty() - Method in class de.tomatengames.util.map.AbstractHashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.Int2HashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.Int3HashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.IntHashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.Long2HashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.Long3HashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.LongHashMap
-
Returns if this map does not contain any entry.
- isEmpty() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns if this map is empty.
- isEqualCT(byte[], byte[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Performs a near-constant-time comparison for the specified arrays.
- isEqualCT(char[], char[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Performs a near-constant-time comparison for the specified arrays.
- isEqualCT(int[], int[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Performs a near-constant-time comparison for the specified arrays.
- isEqualCT(long[], long[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Performs a near-constant-time comparison for the specified arrays.
- isEqualCT(short[], short[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Performs a near-constant-time comparison for the specified arrays.
- isEqualCT(String, String) - Static method in class de.tomatengames.util.StringUtil
-
Performs a near-constant-time comparison for the specified Strings.
- isFileInside(File, File) - Static method in class de.tomatengames.util.IOUtil
-
Returns whether the specified child file is inside the specified parent file.
- isFileInside(File, File, boolean) - Static method in class de.tomatengames.util.IOUtil
-
Returns whether the specified child file is inside the specified parent file.
- isGoal(N) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Determines whether the provided node represents a goal position.
- isPathInside(Path, Path) - Static method in class de.tomatengames.util.IOUtil
-
Returns whether the specified child path is inside the specified parent path.
- isPathInside(Path, Path, boolean) - Static method in class de.tomatengames.util.IOUtil
-
Returns whether the specified child path is inside the specified parent path.
- iterator() - Method in class de.tomatengames.util.data.OrderedHashSet
- iterator() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns an iterator over the elements of this deque in order from first to last.
- iterator() - Method in class de.tomatengames.util.map.AbstractHashMap
- iterator() - Method in class de.tomatengames.util.map.Int2HashMap
- iterator() - Method in class de.tomatengames.util.map.Int3HashMap
- iterator() - Method in class de.tomatengames.util.map.IntHashMap
- iterator() - Method in class de.tomatengames.util.map.Long2HashMap
- iterator() - Method in class de.tomatengames.util.map.Long3HashMap
- iterator() - Method in class de.tomatengames.util.map.LongHashMap
- iterator() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns an
Iteratorthat iterates over the entries in this map in the order of their first insertion.
J
- join(Iterable, Function, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins the objects from the given iterable into a single string using a specified delimiter and conversion function.
- join(Iterable, Function, String, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins the objects from the given iterable into a single string using specified delimiters and conversion function.
- join(Iterator, Function, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins the elements from the given iterator into a single string using the specified delimiter and conversion function.
- join(Iterator, Function, String, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins the elements from the given iterator into a single string using the specified delimiters and conversion function.
- join(T[], Function, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins an array of objects into a single string using a specified delimiter and conversion function.
- join(T[], Function, String, String) - Static method in class de.tomatengames.util.StringUtil
-
Joins an array of objects into a single string using specified delimiters and a conversion function.
K
- keyEquals(K, K) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Returns if the specified keys should be considered equal.
- keyHash(K) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Calculate the hash code of the specified key.
L
- lastIndexOf(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(boolean[], boolean, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(byte[], byte, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(char[], char, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(double[], double, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(float[], float, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(int[], int, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(long[], long, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(short[], short, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOf(String, int, int, String, int, int) - Static method in class de.tomatengames.util.StringUtil
-
Returns the starting index of the last occurrence of the specified part of the pattern in the specified part of the input string.
- lastIndexOf(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of the specified element in the array.
- lastIndexOf(T[], T, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] == elementapplies. - lastIndexOfEqual(T[], T) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index of an element in the array that is equal to the specified element.
- lastIndexOfEqual(T[], T, int) - Static method in class de.tomatengames.util.ArrayUtil
-
Returns the last index in the array that is less than or equal to the
startIndexfor whicharray[index] equals elementapplies. - lastToFirstIterator() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns an iterator over the elements of this deque in order from last to first.
- LevelBytePool - Class in de.tomatengames.util.pool
-
The
LevelBytePoolclass provides a pool of byte arrays, allowing efficient management and reuse of byte arrays with varying lengths. - LevelBytePool() - Constructor for class de.tomatengames.util.pool.LevelBytePool
-
Constructs a new
LevelBytePoolinstance with pre-configured pools for byte arrays of different sizes. - limit(double, double, double) - Static method in class de.tomatengames.util.NumberUtil
-
Limits the specified value to the range
[min, max]. - limit(int, int, int) - Static method in class de.tomatengames.util.NumberUtil
-
Limits the specified value to the range
[min, max]. - limit(long, long, long) - Static method in class de.tomatengames.util.NumberUtil
-
Limits the specified value to the range
[min, max]. - LimitException - Exception Class in de.tomatengames.util.exception
-
A
RuntimeExceptionthat indicates that a limit has been exceeded. - LimitException() - Constructor for exception class de.tomatengames.util.exception.LimitException
-
Creates a new
LimitException. - LimitException(String) - Constructor for exception class de.tomatengames.util.exception.LimitException
-
Creates a new
LimitException. - LimitException(String, Throwable) - Constructor for exception class de.tomatengames.util.exception.LimitException
-
Creates a new
LimitException. - LimitException(Throwable) - Constructor for exception class de.tomatengames.util.exception.LimitException
-
Creates a new
LimitException. - Linked<T> - Class in de.tomatengames.util.linked
-
Represents an
Objectvalue that can be modified. - Linked(T) - Constructor for class de.tomatengames.util.linked.Linked
-
Creates a new
Linked. - LinkedBoolean - Class in de.tomatengames.util.linked
-
Represents a
booleanvalue that can be modified. - LinkedBoolean(boolean) - Constructor for class de.tomatengames.util.linked.LinkedBoolean
-
Creates a new
LinkedBoolean. - LinkedByte - Class in de.tomatengames.util.linked
-
Represents a
bytevalue that can be modified. - LinkedByte(byte) - Constructor for class de.tomatengames.util.linked.LinkedByte
-
Creates a new
LinkedByte. - LinkedChar - Class in de.tomatengames.util.linked
-
Represents a
charvalue that can be modified. - LinkedChar(char) - Constructor for class de.tomatengames.util.linked.LinkedChar
-
Creates a new
LinkedChar. - LinkedDouble - Class in de.tomatengames.util.linked
-
Represents a
doublevalue that can be modified. - LinkedDouble(double) - Constructor for class de.tomatengames.util.linked.LinkedDouble
-
Creates a new
LinkedDouble. - LinkedFloat - Class in de.tomatengames.util.linked
-
Represents a
floatvalue that can be modified. - LinkedFloat(float) - Constructor for class de.tomatengames.util.linked.LinkedFloat
-
Creates a new
LinkedFloat. - LinkedInt - Class in de.tomatengames.util.linked
-
Represents an
intvalue that can be modified. - LinkedInt(int) - Constructor for class de.tomatengames.util.linked.LinkedInt
-
Creates a new
LinkedInt. - LinkedLong - Class in de.tomatengames.util.linked
-
Represents a
longvalue that can be modified. - LinkedLong(long) - Constructor for class de.tomatengames.util.linked.LinkedLong
-
Creates a new
LinkedLong. - LinkedPool<E> - Class in de.tomatengames.util.pool
-
The
LinkedPoolclass implements thePoolinterface and manages a pool of objects by linking them together. - LinkedPool(Supplier) - Constructor for class de.tomatengames.util.pool.LinkedPool
-
Constructs a new
LinkedPoolwith the specified supplier for creating objects and an unlimited capacity. - LinkedPool(Supplier, long) - Constructor for class de.tomatengames.util.pool.LinkedPool
-
Constructs a new
LinkedPoolwith the specified supplier for creating objects and a given capacity. - LinkedShort - Class in de.tomatengames.util.linked
-
Represents a
shortvalue that can be modified. - LinkedShort(short) - Constructor for class de.tomatengames.util.linked.LinkedShort
-
Creates a new
LinkedShort. - listDirectory(Path) - Static method in class de.tomatengames.util.IOUtil
-
Return an array that contains the entries in the directory.
- listPath(N, Function) - Static method in class de.tomatengames.util.PathfinderUtil
-
Utility to list the PathNodes from the startpoint to the provided PathNode.
- loadAllClasses(Collection, boolean, ClassLoader) - Static method in class de.tomatengames.util.ClassLoadUtil
-
Loads all classes specified by the given class names using the provided class loader.
- loadAllClasses(ZipFile, boolean, ClassLoader) - Static method in class de.tomatengames.util.ClassLoadUtil
-
Loads all classes from the specified ZIP/JAR file using the provided class loader.
- local() - Method in class de.tomatengames.util.injector.InjectionProvider
-
Creates a new local
InjectionEnvironmentfor this InjectionProvider. - local() - Static method in class de.tomatengames.util.injector.Injector
-
Creates a new local
InjectionEnvironment. - Long2Entry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- Long2HashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that maps(long, long)keys to object values. - Long2HashMap() - Constructor for class de.tomatengames.util.map.Long2HashMap
-
Creates a new and empty
Long2HashMap. - Long2HashMap(Long2HashMap) - Constructor for class de.tomatengames.util.map.Long2HashMap
-
Creates a new
Long2HashMapthat contains all the mappings of the specified map. - Long3Entry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- Long3HashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that maps(long, long, long)keys to object values. - Long3HashMap() - Constructor for class de.tomatengames.util.map.Long3HashMap
-
Creates a new and empty
Long3HashMap. - Long3HashMap(Long3HashMap) - Constructor for class de.tomatengames.util.map.Long3HashMap
-
Creates a new
Long3HashMapthat contains all the mappings of the specified map. - LongConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
long. - LongEntry<V> - Interface in de.tomatengames.util.map
-
Represents a key-value mapping.
- LongHashMap<V> - Class in de.tomatengames.util.map
-
A
HashMap-like data structure that mapslongkeys to object values. - LongHashMap() - Constructor for class de.tomatengames.util.map.LongHashMap
-
Creates a new and empty
LongHashMap. - LongHashMap(LongHashMap) - Constructor for class de.tomatengames.util.map.LongHashMap
-
Creates a new
LongHashMapthat contains all the mappings of the specified map. - LongToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns aboolean. - LongToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns abyte. - LongToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns achar. - LongToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns adouble. - LongToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns afloat. - longToHex(long) - Static method in class de.tomatengames.util.HexUtil
-
Converts the bits of the specified
longinto a hexadecimal string. - LongToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns anint. - LongToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns along. - LongToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns anObject. - LongToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns ashort. - LongToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
longand returns nothing.
M
- mark(int) - Method in class de.tomatengames.util.io.CountingInputStream
- mark(int) - Method in class de.tomatengames.util.io.UTF8Reader
- markSupported() - Method in class de.tomatengames.util.io.UTF8Reader
- matchesSimplePattern(String, String) - Static method in class de.tomatengames.util.StringUtil
-
Tests if the specified input string matches the specified simple pattern.
- MD5 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
MD5hash algorithm. - method(Class, String, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Get a method by its name and parameter types, wraps
Class.getDeclaredMethod(String, Class...). - modulus(int) - Static method in class de.tomatengames.util.TOTPUtil
-
Returns the modulus to cut the last n (codeLength) digits from some integer.
- move(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Moves the specified element to its position in the heap.
N
- negate() - Method in interface de.tomatengames.util.function.BooleanToBooleanFunction
-
Returns a BooleanToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.ByteToBooleanFunction
-
Returns a ByteToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.CharToBooleanFunction
-
Returns a CharToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.DoubleToBooleanFunction
-
Returns a DoubleToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.FloatToBooleanFunction
-
Returns a FloatToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.IntToBooleanFunction
-
Returns an IntToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.LongToBooleanFunction
-
Returns a LongToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.Ref0ToBooleanFunction
-
Returns a Ref0ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref1ToBooleanFunction
-
Returns a Ref1ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref2ToBooleanFunction
-
Returns a Ref2ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref3ToBooleanFunction
-
Returns a Ref3ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref4ToBooleanFunction
-
Returns a Ref4ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref5ToBooleanFunction
-
Returns a Ref5ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref6ToBooleanFunction
-
Returns a Ref6ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref7ToBooleanFunction
-
Returns a Ref7ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref8ToBooleanFunction
-
Returns a Ref8ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.Ref9ToBooleanFunction
-
Returns a Ref9ToBooleanFunction that represents
!this.apply(...). - negate() - Method in interface de.tomatengames.util.function.RefToBooleanFunction
-
Returns an RefToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.ShortToBooleanFunction
-
Returns a ShortToBooleanFunction that represents
!this.apply(e). - negate() - Method in interface de.tomatengames.util.function.VoidToBooleanFunction
-
Returns a VoidToBooleanFunction that represents
!this.apply(e). - not(BooleanToBooleanFunction) - Static method in interface de.tomatengames.util.function.BooleanToBooleanFunction
-
Returns a BooleanToBooleanFunction that represents
!func.apply(e). - not(ByteToBooleanFunction) - Static method in interface de.tomatengames.util.function.ByteToBooleanFunction
-
Returns a ByteToBooleanFunction that represents
!func.apply(e). - not(CharToBooleanFunction) - Static method in interface de.tomatengames.util.function.CharToBooleanFunction
-
Returns a CharToBooleanFunction that represents
!func.apply(e). - not(DoubleToBooleanFunction) - Static method in interface de.tomatengames.util.function.DoubleToBooleanFunction
-
Returns a DoubleToBooleanFunction that represents
!func.apply(e). - not(FloatToBooleanFunction) - Static method in interface de.tomatengames.util.function.FloatToBooleanFunction
-
Returns a FloatToBooleanFunction that represents
!func.apply(e). - not(IntToBooleanFunction) - Static method in interface de.tomatengames.util.function.IntToBooleanFunction
-
Returns an IntToBooleanFunction that represents
!func.apply(e). - not(LongToBooleanFunction) - Static method in interface de.tomatengames.util.function.LongToBooleanFunction
-
Returns a LongToBooleanFunction that represents
!func.apply(e). - not(Ref0ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref0ToBooleanFunction
-
Returns a Ref0ToBooleanFunction that represents
!func.apply(...). - not(Ref1ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref1ToBooleanFunction
-
Returns a Ref1ToBooleanFunction that represents
!func.apply(...). - not(Ref2ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref2ToBooleanFunction
-
Returns a Ref2ToBooleanFunction that represents
!func.apply(...). - not(Ref3ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref3ToBooleanFunction
-
Returns a Ref3ToBooleanFunction that represents
!func.apply(...). - not(Ref4ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref4ToBooleanFunction
-
Returns a Ref4ToBooleanFunction that represents
!func.apply(...). - not(Ref5ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref5ToBooleanFunction
-
Returns a Ref5ToBooleanFunction that represents
!func.apply(...). - not(Ref6ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref6ToBooleanFunction
-
Returns a Ref6ToBooleanFunction that represents
!func.apply(...). - not(Ref7ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref7ToBooleanFunction
-
Returns a Ref7ToBooleanFunction that represents
!func.apply(...). - not(Ref8ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref8ToBooleanFunction
-
Returns a Ref8ToBooleanFunction that represents
!func.apply(...). - not(Ref9ToBooleanFunction) - Static method in interface de.tomatengames.util.function.Ref9ToBooleanFunction
-
Returns a Ref9ToBooleanFunction that represents
!func.apply(...). - not(RefToBooleanFunction) - Static method in interface de.tomatengames.util.function.RefToBooleanFunction
-
Returns an RefToBooleanFunction that represents
!func.apply(e). - not(ShortToBooleanFunction) - Static method in interface de.tomatengames.util.function.ShortToBooleanFunction
-
Returns a ShortToBooleanFunction that represents
!func.apply(e). - not(VoidToBooleanFunction) - Static method in interface de.tomatengames.util.function.VoidToBooleanFunction
-
Returns a VoidToBooleanFunction that represents
!func.apply(e). - not(Predicate) - Static method in class de.tomatengames.util.PredicateUtil
-
Returns the logical negation of the specified
Predicate. - NotNull - Annotation Interface in de.tomatengames.util.annotation
-
Indicates that a field, parameter, return value, etc.
- Nullable - Annotation Interface in de.tomatengames.util.annotation
-
Indicates that a field, parameter, return value, etc.
- NumberUtil - Class in de.tomatengames.util
-
Provides utilities to handle numbers.
O
- ofLength(int) - Method in interface de.tomatengames.util.pool.BytePool
-
Returns a pool that provides byte arrays that are at least as long as the specified minimum length.
- ofLength(int) - Method in class de.tomatengames.util.pool.LevelBytePool
- or(Predicate, Predicate) - Static method in class de.tomatengames.util.PredicateUtil
-
Returns a
Predicatethat represents(pred1.test(t) || pred2.test(t)). - OrderedHashMap<K,
V> - Class in de.tomatengames.util.map -
A
HashMap-like data structure that maps keys to values. - OrderedHashMap() - Constructor for class de.tomatengames.util.map.OrderedHashMap
-
Creates a new and empty
OrderedHashMap. - OrderedHashMap(OrderedHashMap) - Constructor for class de.tomatengames.util.map.OrderedHashMap
-
Creates a new
OrderedHashMapthat contains all the mappings of the specified map. - OrderedHashSet<E> - Class in de.tomatengames.util.data
-
A set that maintains the insertion order of its elements.
- OrderedHashSet() - Constructor for class de.tomatengames.util.data.OrderedHashSet
-
Creates an empty ordered hash set.
- OrderedHashSet(Collection) - Constructor for class de.tomatengames.util.data.OrderedHashSet
-
Creates an ordered hash set containing all elements from the specified collection.
P
- parseHexChar(char) - Static method in class de.tomatengames.util.HexUtil
-
Returns the value of the specified hexadecimal character.
- PathfinderUtil - Class in de.tomatengames.util
-
Provides methods to find optimal paths on graphs using the A* algorithm.
- PathfinderUtil.PathNode - Class in de.tomatengames.util
-
A PathNode should represent a position (node in a graph) combined with the way to get there (edges) from the startpoint.
- PathfinderUtil.PositionMap<N> - Class in de.tomatengames.util
-
A Map-like structure specifically for
PathfinderUtil.PathNodes. - PathfinderUtil.World<N> - Interface in de.tomatengames.util
-
Provides several functions used by the
findmethods. - PathNode(double) - Constructor for class de.tomatengames.util.PathfinderUtil.PathNode
-
Creates a new PathNode with the provided step cost.
- peekFirst() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns the first element of the deque without removing it.
- peekLast() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns the last element of the deque without removing it.
- pipeStream(InputStream, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads all data from the
InputStreamand writes it to theOutputStream. - Pool<E> - Interface in de.tomatengames.util.pool
-
The
Poolinterface allows for pooling of objects. - Pooled<E> - Interface in de.tomatengames.util.pool
-
The
Pooledinterface represents a wrapper around an object that can be returned to a pool after use. - positionEqual(N, N) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Determines whether the provided nodes represent the same position (node in a graph).
- positionHash(N) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Calculates a hash of the position (node in a graph) represented by the provided node.
- PositionMap(PathfinderUtil.World, float, int) - Constructor for class de.tomatengames.util.PathfinderUtil.PositionMap
- PredicateUtil - Class in de.tomatengames.util
-
Provides methods to combine
Predicateobjects. - preferOrigin(N, N) - Method in interface de.tomatengames.util.PathfinderUtil.World
-
Chooses between two nodes with equal cost representing the same position.
- provide(InjectionKey, T) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified injection key.
- provide(InjectionKey, T) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified injection key.
- provide(InjectionKey, T) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified injection key to the root provider.
- provide(Class, T) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified key class.
- provide(Class, T) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified key class.
- provide(Class, T) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified key class to the root provider.
- provide(String, Object) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified injection key.
- provide(String, Object) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified injection key.
- provide(String, Object) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified injection key.
- provideIfAbsent(InjectionKey, T) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified injection key if the key is not already provided.
- provideIfAbsent(InjectionKey, T) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified injection key if the key is not already provided.
- provideIfAbsent(InjectionKey, T) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified injection key to the root provider if the key is not already provided.
- provideIfAbsent(Class, T) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified key class if the key class is not already provided.
- provideIfAbsent(Class, T) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified key class if the key class is not already provided.
- provideIfAbsent(Class, T) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified key class to the root provider if the key class is not already provided.
- provideIfAbsent(String, Object) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Provides the specified value for the specified injection key if the key is not already provided.
- provideIfAbsent(String, Object) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Provides the specified value for the specified injection key if the key is not already provided.
- provideIfAbsent(String, Object) - Static method in class de.tomatengames.util.injector.Injector
-
Provides the specified value for the specified injection key to the root provider if the key is not already provided.
- put(int, int, int, V) - Method in class de.tomatengames.util.map.Int3HashMap
-
Associates the specified key with the specified value.
- put(int, int, V) - Method in class de.tomatengames.util.map.Int2HashMap
-
Associates the specified key with the specified value.
- put(int, V) - Method in class de.tomatengames.util.map.IntHashMap
-
Associates the specified key with the specified value.
- put(long, long, long, V) - Method in class de.tomatengames.util.map.Long3HashMap
-
Associates the specified key with the specified value.
- put(long, long, V) - Method in class de.tomatengames.util.map.Long2HashMap
-
Associates the specified key with the specified value.
- put(long, V) - Method in class de.tomatengames.util.map.LongHashMap
-
Associates the specified key with the specified value.
- put(K, V) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Associates the specified key with the specified value.
- put(K, V) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Associates the specified key with the specified value.
- put(N) - Method in class de.tomatengames.util.PathfinderUtil.PositionMap
- putAll(AbstractHashMap) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Puts all mappings of the specified map into this map.
- putAll(Int2HashMap) - Method in class de.tomatengames.util.map.Int2HashMap
-
Puts all mappings of the specified map into this map.
- putAll(Int3HashMap) - Method in class de.tomatengames.util.map.Int3HashMap
-
Puts all mappings of the specified map into this map.
- putAll(IntHashMap) - Method in class de.tomatengames.util.map.IntHashMap
-
Puts all mappings of the specified map into this map.
- putAll(Long2HashMap) - Method in class de.tomatengames.util.map.Long2HashMap
-
Puts all mappings of the specified map into this map.
- putAll(Long3HashMap) - Method in class de.tomatengames.util.map.Long3HashMap
-
Puts all mappings of the specified map into this map.
- putAll(LongHashMap) - Method in class de.tomatengames.util.map.LongHashMap
-
Puts all mappings of the specified map into this map.
- putAll(OrderedHashMap) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Inserts all mappings of the specified map into this map.
- putIfAbsent(int, int, int, V) - Method in class de.tomatengames.util.map.Int3HashMap
-
Associates the specified key with the specified value.
- putIfAbsent(int, int, V) - Method in class de.tomatengames.util.map.Int2HashMap
-
Associates the specified key with the specified value.
- putIfAbsent(int, V) - Method in class de.tomatengames.util.map.IntHashMap
-
Associates the specified key with the specified value.
- putIfAbsent(long, long, long, V) - Method in class de.tomatengames.util.map.Long3HashMap
-
Associates the specified key with the specified value.
- putIfAbsent(long, long, V) - Method in class de.tomatengames.util.map.Long2HashMap
-
Associates the specified key with the specified value.
- putIfAbsent(long, V) - Method in class de.tomatengames.util.map.LongHashMap
-
Associates the specified key with the specified value.
- putIfAbsent(K, V) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Associates the specified key with the specified value.
- putIfAbsent(K, V) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Associates the specified key with the specified value and adds the entry to the end of the list.
R
- read() - Method in class de.tomatengames.util.io.CountingInputStream
- read() - Method in class de.tomatengames.util.io.UTF8Reader
- read(byte[]) - Method in class de.tomatengames.util.io.CountingInputStream
- read(byte[], int, int) - Method in class de.tomatengames.util.io.CountingInputStream
- read(char[], int, int) - Method in class de.tomatengames.util.io.UTF8Reader
- read(InputStream) - Method in interface de.tomatengames.util.ElementReader
-
Reads the specified element from the
InputStream. - readBinaryFile(Path) - Static method in class de.tomatengames.util.IOUtil
-
Reads alls bytes of the specified file and returns them as a byte array.
- readBoolean(byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Returns
falseif and only ifinput[offset]is0x00. - readBoolean(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads a single byte and returns
falseif and only if the byte is0x00. - readFully(InputStream, byte[]) - Static method in class de.tomatengames.util.IOUtil
-
Reads exactly
arr.lengthbytes from theInputStreaminto the specified byte array. - readFully(InputStream, byte[], int, int) - Static method in class de.tomatengames.util.IOUtil
-
Reads exactly
lenbytes from theInputStreaminto the specified byte array. - readInt(byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Reads 4 bytes from the byte array starting at the specified offset and returns them as
int. - readInt(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads 4 bytes from the input stream and returns them as
int. - readLong(byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Reads 8 bytes from the byte array starting at the specified offset and returns them as
long. - readLong(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads 8 bytes from the input stream and returns them as
long. - readShort(byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Reads 2 bytes from the byte array starting at the specified offset and returns them as the 2 lower-order bytes of the returned
int. - readShort(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads 2 bytes from the input stream and returns them as the 2 lower-order bytes of the returned
int. - readString(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Reads a
Stringfrom the specifiedInputStream. - readString(InputStream, int) - Static method in class de.tomatengames.util.IOUtil
-
Reads a
Stringfrom the specifiedInputStream. - readTextFile(Path) - Static method in class de.tomatengames.util.IOUtil
-
Reads the specified text file into a
String. - readUByte(InputStream) - Static method in class de.tomatengames.util.IOUtil
-
Returns a single byte from the specified input stream.
- reduce(long) - Method in class de.tomatengames.util.pool.LinkedPool
-
Reduces the size of the pool to a specified new size.
- Ref0ToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
boolean. - Ref0ToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
byte. - Ref0ToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
char. - Ref0ToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
double. - Ref0ToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
float. - Ref0ToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns an
int. - Ref0ToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
long. - Ref0ToRefFunction<T> - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns an
Object. - Ref0ToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns a
short. - Ref0ToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts 0 generic input parameters and returns nothing.
- Ref1ToBooleanFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
boolean. - Ref1ToByteFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
byte. - Ref1ToCharFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
char. - Ref1ToDoubleFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
double. - Ref1ToFloatFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
float. - Ref1ToIntFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns an
int. - Ref1ToLongFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
long. - Ref1ToRefFunction<T,
A> - Interface in de.tomatengames.util.function -
A function that accepts 1 generic input parameter and returns an
Object. - Ref1ToShortFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns a
short. - Ref1ToVoidFunction<A> - Interface in de.tomatengames.util.function
-
A function that accepts 1 generic input parameter and returns nothing.
- Ref2ToBooleanFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
boolean. - Ref2ToByteFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
byte. - Ref2ToCharFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
char. - Ref2ToDoubleFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
double. - Ref2ToFloatFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
float. - Ref2ToIntFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns an
int. - Ref2ToLongFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
long. - Ref2ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB> -
A function that accepts 2 generic input parameters and returns an
Object. - Ref2ToShortFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns a
short. - Ref2ToVoidFunction<A,
B> - Interface in de.tomatengames.util.function -
A function that accepts 2 generic input parameters and returns nothing.
- Ref3ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
boolean. - Ref3ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
byte. - Ref3ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
char. - Ref3ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
double. - Ref3ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
float. - Ref3ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns an
int. - Ref3ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
long. - Ref3ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C> -
A function that accepts 3 generic input parameters and returns an
Object. - Ref3ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns a
short. - Ref3ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC> -
A function that accepts 3 generic input parameters and returns nothing.
- Ref4ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
boolean. - Ref4ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
byte. - Ref4ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
char. - Ref4ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
double. - Ref4ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
float. - Ref4ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns an
int. - Ref4ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
long. - Ref4ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D> -
A function that accepts 4 generic input parameters and returns an
Object. - Ref4ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns a
short. - Ref4ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D> -
A function that accepts 4 generic input parameters and returns nothing.
- Ref5ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
boolean. - Ref5ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
byte. - Ref5ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
char. - Ref5ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
double. - Ref5ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
float. - Ref5ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns an
int. - Ref5ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
long. - Ref5ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D, E> -
A function that accepts 5 generic input parameters and returns an
Object. - Ref5ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns a
short. - Ref5ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E> -
A function that accepts 5 generic input parameters and returns nothing.
- Ref6ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
boolean. - Ref6ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
byte. - Ref6ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
char. - Ref6ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
double. - Ref6ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
float. - Ref6ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns an
int. - Ref6ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
long. - Ref6ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D, E, F> -
A function that accepts 6 generic input parameters and returns an
Object. - Ref6ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns a
short. - Ref6ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F> -
A function that accepts 6 generic input parameters and returns nothing.
- Ref7ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
boolean. - Ref7ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
byte. - Ref7ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
char. - Ref7ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
double. - Ref7ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
float. - Ref7ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns an
int. - Ref7ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
long. - Ref7ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D, E, F, G> -
A function that accepts 7 generic input parameters and returns an
Object. - Ref7ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns a
short. - Ref7ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G> -
A function that accepts 7 generic input parameters and returns nothing.
- Ref8ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
boolean. - Ref8ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
byte. - Ref8ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
char. - Ref8ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
double. - Ref8ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
float. - Ref8ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns an
int. - Ref8ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
long. - Ref8ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns an
Object. - Ref8ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns a
short. - Ref8ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H> -
A function that accepts 8 generic input parameters and returns nothing.
- Ref9ToBooleanFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
boolean. - Ref9ToByteFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
byte. - Ref9ToCharFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
char. - Ref9ToDoubleFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
double. - Ref9ToFloatFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
float. - Ref9ToIntFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns an
int. - Ref9ToLongFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
long. - Ref9ToRefFunction<T,
A, - Interface in de.tomatengames.util.functionB, C, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns an
Object. - Ref9ToShortFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns a
short. - Ref9ToVoidFunction<A,
B, - Interface in de.tomatengames.util.functionC, D, E, F, G, H, I> -
A function that accepts 9 generic input parameters and returns nothing.
- RefConsumerWithThrows<I,
T> - Interface in de.tomatengames.util.function -
A consumer that accepts an
Object. - ReflectionException - Exception Class in de.tomatengames.util.exception
-
A
RuntimeExceptionthat indicates a problem related to reflection. - ReflectionException() - Constructor for exception class de.tomatengames.util.exception.ReflectionException
-
Creates a new
ReflectionException. - ReflectionException(String) - Constructor for exception class de.tomatengames.util.exception.ReflectionException
-
Creates a new
ReflectionException. - ReflectionException(String, Throwable) - Constructor for exception class de.tomatengames.util.exception.ReflectionException
-
Creates a new
ReflectionException. - ReflectionException(Throwable) - Constructor for exception class de.tomatengames.util.exception.ReflectionException
-
Creates a new
ReflectionException. - ReflectionUtil - Class in de.tomatengames.util
-
Provides convenient methods to utilize the Reflection API.
- RefToBooleanFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns aboolean. - RefToByteFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns abyte. - RefToCharFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns achar. - RefToDoubleFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns adouble. - RefToFloatFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns afloat. - RefToIntFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns anint. - RefToLongFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns along. - RefToRefFunction<I,
O> - Interface in de.tomatengames.util.function -
A function that accepts an
Objectand returns anObject. - RefToShortFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns ashort. - RefToVoidFunction<I> - Interface in de.tomatengames.util.function
-
A function that accepts an
Objectand returns nothing. - remove(boolean[], boolean) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(byte[], byte) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(char[], char) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(double[], double) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(float[], float) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(int) - Method in class de.tomatengames.util.map.IntHashMap
-
Removes the entry with the specified key from this map.
- remove(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(int, int) - Method in class de.tomatengames.util.map.Int2HashMap
-
Removes the entry with the specified key from this map.
- remove(int, int, int) - Method in class de.tomatengames.util.map.Int3HashMap
-
Removes the entry with the specified key from this map.
- remove(long) - Method in class de.tomatengames.util.map.LongHashMap
-
Removes the entry with the specified key from this map.
- remove(long[], long) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(long, long) - Method in class de.tomatengames.util.map.Long2HashMap
-
Removes the entry with the specified key from this map.
- remove(long, long, long) - Method in class de.tomatengames.util.map.Long3HashMap
-
Removes the entry with the specified key from this map.
- remove(short[], short) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- remove(E) - Method in class de.tomatengames.util.data.TrackedHeap
-
Removes the specified element from this heap.
- remove(TrackedDeque.Element) - Method in class de.tomatengames.util.data.TrackedDeque
-
Removes the specified element from this deque.
- remove(Object) - Method in class de.tomatengames.util.data.OrderedHashSet
- remove(Object) - Method in class de.tomatengames.util.map.OrderedHashMap
-
Removes the entry with the specified key from this map.
- remove(K) - Method in class de.tomatengames.util.map.AbstractHashMap
-
Removes the entry with the specified key from this map.
- remove(T[], T, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance of the specified element.
- removeAll(Collection) - Method in class de.tomatengames.util.data.OrderedHashSet
- removeEqual(T[], T, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the first appearance an element that is equal to the specified element.
- removeFirst() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Removes the first element added to this set, or throws a
NoSuchElementExceptionif this set is empty. - removeFirst() - Method in class de.tomatengames.util.data.TrackedDeque
-
Removes the first element of this deque and returns it.
- removeFirst() - Method in class de.tomatengames.util.data.TrackedHeap
-
Returns and removes the first element of this heap.
- removeFirst() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Removes and returns the first entry in this ordered map.
- removeIndex(boolean[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(byte[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(char[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(double[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(float[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(int[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(long[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(short[], int) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeIndex(T[], int, IntFunction) - Static method in class de.tomatengames.util.ArrayUtil
-
Copies the array, but skips the specified index.
- removeLast() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Removes the last element added to this set, or throws a
NoSuchElementExceptionif this set is empty. - removeLast() - Method in class de.tomatengames.util.data.TrackedDeque
-
Removes the last element of this deque and returns it.
- removeLast() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Removes and returns the last entry in this ordered map.
- requireAllNotNull(Collection, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified collection and all of its elements are not null.
- requireAllNotNull(T[], String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array and all of its elements are not null.
- requireExactLength(T[], int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array is not null and has exactly the specified length.
- requireExactSize(Collection, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified collection is not null and has exactly the specified number of elements.
- requireForAll(Collection, Predicate, String, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified
Collectionis not null and all elements satisfy the specified predicate. - requireForAll(T[], Predicate, String, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array is not null and all elements satisfy the specified predicate.
- requireGreaterOrEqual(double, double, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is greater than or equal to the minimum value.
- requireGreaterOrEqual(int, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is greater than or equal to the minimum value.
- requireGreaterOrEqual(long, long, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is greater than or equal to the minimum value.
- requireInRange(double, double, double, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is in the range [min, max].
- requireInRange(int, int, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is in the range [min, max].
- requireInRange(long, long, long, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is in the range [min, max].
- requireLengthInRange(T[], int, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array is not null and has a length within the specified range.
- requireLessOrEqual(double, double, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is less than or equal to the maximum value.
- requireLessOrEqual(int, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is less than or equal to the maximum value.
- requireLessOrEqual(long, long, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is less than or equal to the maximum value.
- RequirementUtil - Class in de.tomatengames.util
-
Provides convenient methods to check requirements.
- requireMinLength(T[], int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array is not null and has a length of at least the specified minimum length.
- requireMinSize(Collection, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified
Collectionis not null and has a size of at least the specified minimum size. - requireNotBlank(String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified string is not
nulland does not only contain whitespace characters. - requireNotBlank(String, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified string is not
nulland does not only contain whitespace characters. - requireNotEmpty(Collection, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified
Collectionis not null and contains at least 1 element. - requireNotEmpty(T[], String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified array is not null and has a length of at least 1.
- requireNotNegative(double, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is not negative.
- requireNotNegative(int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is not negative.
- requireNotNegative(long, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is not negative.
- requireNotNull(Object) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified object is not
null. - requireNotNull(Object, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified object is not
null. - requirePositive(double, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is positive.
- requirePositive(int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is positive.
- requirePositive(long, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified number is positive.
- requireSizeInRange(Collection, int, int, String) - Static method in class de.tomatengames.util.RequirementUtil
-
Ensures that the specified collection is not null and has a size within the specified range.
- reset() - Method in class de.tomatengames.util.io.CountingInputStream
- reset() - Method in class de.tomatengames.util.io.UTF8Reader
- resolveInside(File, String) - Static method in class de.tomatengames.util.IOUtil
-
Returns the file inside the specified parent file resolved from the specified subpath.
- resolveInside(File, String, boolean) - Static method in class de.tomatengames.util.IOUtil
-
Returns the file inside the specified parent file resolved from the specified subpath.
- resolveInside(String) - Method in class de.tomatengames.util.io.AbsoluteFile
-
Returns the file inside this file resolved from the specified subpath.
- resolveInside(String) - Method in class de.tomatengames.util.io.AbsolutePath
-
Returns the path inside this path resolved from the specified subpath.
- resolveInside(String, boolean) - Method in class de.tomatengames.util.io.AbsoluteFile
-
Returns the file inside this file resolved from the specified subpath.
- resolveInside(String, boolean) - Method in class de.tomatengames.util.io.AbsolutePath
-
Returns the path inside this path resolved from the specified subpath.
- resolveInside(Path, String) - Static method in class de.tomatengames.util.IOUtil
-
Returns the path inside the specified parent path resolved from the specified subpath.
- resolveInside(Path, String, boolean) - Static method in class de.tomatengames.util.IOUtil
-
Returns the path inside the specified parent path resolved from the specified subpath.
- retainAll(Collection) - Method in class de.tomatengames.util.data.OrderedHashSet
- reverse(boolean[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(byte[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(char[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(double[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(float[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(int[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(long[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(short[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- reverse(T[]) - Static method in class de.tomatengames.util.ArrayUtil
-
Reverses the specified array inplace.
- run(Object, Method) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs the given method of the given object with no parameters.
- run(Object, Method, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs the given method of the given object using the given parameters.
- run(Object, String, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs a matching method of the given object and name.
- runStatic(Class, String, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs a matching method of the given class and name.
- runStatic(Method) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs the given static method using no parameters.
- runStatic(Method, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs the given static method using the given parameters.
- runStatic(String, String, Object...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Runs a matching method of the given class name and method name.
S
- searchConstructor(Class, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Searches the given class for a constructor that the given parameter types can be passed to.
- searchField(Class, String) - Static method in class de.tomatengames.util.ReflectionUtil
-
Searches the given class hierarchy for any field of the given name.
- searchMethod(Class, String, Class...) - Static method in class de.tomatengames.util.ReflectionUtil
-
Searches the given class hierarchy for a method of the given name that the given parameter types can be passed to.
- set(boolean) - Method in class de.tomatengames.util.linked.LinkedBoolean
-
Sets the value of this object.
- set(byte) - Method in class de.tomatengames.util.linked.LinkedByte
-
Sets the value of this object.
- set(char) - Method in class de.tomatengames.util.linked.LinkedChar
-
Sets the value of this object.
- set(double) - Method in class de.tomatengames.util.linked.LinkedDouble
-
Sets the value of this object.
- set(float) - Method in class de.tomatengames.util.linked.LinkedFloat
-
Sets the value of this object.
- set(int) - Method in class de.tomatengames.util.linked.LinkedInt
-
Sets the value of this object.
- set(long) - Method in class de.tomatengames.util.linked.LinkedLong
-
Sets the value of this object.
- set(short) - Method in class de.tomatengames.util.linked.LinkedShort
-
Sets the value of this object.
- set(Object, Class, String, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the field of the given class and name in the given object.
- set(Object, Field, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to an Object, wraps
Field.set(Object, Object). - set(Object, String, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the field of the given name in the given object.
- set(String, Object) - Static method in class de.tomatengames.util.Undepender
-
Deprecated.Since TomatenUtil 1.9. Use
Injectorinstead. - set(T) - Method in class de.tomatengames.util.linked.Linked
-
Sets the value of this object.
- setBoolean(Object, Field, boolean) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a boolean, wraps
Field.setBoolean(Object, boolean). - setByte(Object, Field, byte) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a byte, wraps
Field.setByte(Object, byte). - setChar(Object, Field, char) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a char, wraps
Field.setChar(Object, char). - setDefaultProvider(InjectionProviderFunction) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Sets the default provider function for this environment.
- setDouble(Object, Field, double) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a double, wraps
Field.setDouble(Object, double). - setFloat(Object, Field, float) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a float, wraps
Field.setFloat(Object, float). - setInt(Object, Field, int) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to an int, wraps
Field.setInt(Object, int). - setLong(Object, Field, long) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a long, wraps
Field.setLong(Object, long). - setShort(Object, Field, short) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given field in the given object to a short, wraps
Field.setShort(Object, short). - setStatic(Class, String, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the static field of the given class and name.
- setStatic(Field, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to an Object.
- setStatic(String, String, Object) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the static field of the given class name and field name.
- setStaticBoolean(Field, boolean) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a boolean.
- setStaticByte(Field, byte) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a byte.
- setStaticChar(Field, char) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a char.
- setStaticDouble(Field, double) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a double.
- setStaticFloat(Field, float) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a float.
- setStaticInt(Field, int) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to an int.
- setStaticLong(Field, long) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a long.
- setStaticShort(Field, short) - Static method in class de.tomatengames.util.ReflectionUtil
-
Set the current value of the given static field to a short.
- setValue(V) - Method in interface de.tomatengames.util.map.AbstractEntry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.Int2Entry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.Int3Entry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.IntEntry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.Long2Entry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.Long3Entry
-
Sets the value of this mapping.
- setValue(V) - Method in interface de.tomatengames.util.map.LongEntry
-
Sets the value of this mapping.
- SHA1 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
SHA-1hash algorithm. - SHA256 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
SHA-256hash algorithm. - SHA512 - Static variable in class de.tomatengames.util.HashUtil
-
The name of the
SHA-512hash algorithm. - ShortConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts a
short. - ShortToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns aboolean. - ShortToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns abyte. - ShortToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns achar. - ShortToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns adouble. - ShortToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns afloat. - shortToHex(int) - Static method in class de.tomatengames.util.HexUtil
-
Converts the 16 least significant bits of the specified
intinto a hexadecimal string. - ShortToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns anint. - ShortToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns along. - ShortToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns anObject. - ShortToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns ashort. - ShortToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts a
shortand returns nothing. - size() - Method in class de.tomatengames.util.data.OrderedHashSet
- size() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns the number of elements in this deque.
- size() - Method in class de.tomatengames.util.data.TrackedHeap
-
Returns the number of elements in this heap.
- size() - Method in class de.tomatengames.util.map.AbstractHashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.Int2HashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.Int3HashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.IntHashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.Long2HashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.Long3HashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.LongHashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.map.OrderedHashMap
-
Returns the number of entries in this map.
- size() - Method in class de.tomatengames.util.PathfinderUtil.PositionMap
- size() - Method in class de.tomatengames.util.pool.LinkedPool
-
Returns the amount of stored objects currently in the pool.
- sizeLong() - Method in class de.tomatengames.util.data.OrderedHashSet
-
Returns the number of elements in this set as a long value.
- skip(long) - Method in class de.tomatengames.util.io.CountingInputStream
- SortUtil - Class in de.tomatengames.util
-
Provides
Comparatorfunctions. - startsWithIgnoreCase(String, String) - Static method in class de.tomatengames.util.StringUtil
-
Returns if the string starts with the specified prefix.
- startsWithIgnoreCase(String, String, int) - Static method in class de.tomatengames.util.StringUtil
-
Returns if the string starts with the specified prefix at the specified index.
- stream() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns a stream of the elements in this deque.
- streamLastToFirst() - Method in class de.tomatengames.util.data.TrackedDeque
-
Returns a stream of the elements in this deque.
- streamToHex(InputStream) - Static method in class de.tomatengames.util.HexUtil
-
Reads the specified
InputStreamand returns its content as a hex string. - StringUtil - Class in de.tomatengames.util
-
Provides methods to handle
Strings.
T
- TestUtil - Class in de.tomatengames.util
-
Provides methods that are helpful for JUnit testing.
- toArray() - Method in class de.tomatengames.util.data.OrderedHashSet
- toArray(T[]) - Method in class de.tomatengames.util.data.OrderedHashSet
- toBase32Char(int) - Static method in class de.tomatengames.util.Base32Util
-
Converts the specified 5 bit integer to the corresponding Base32 character.
- toHexChar(int) - Static method in class de.tomatengames.util.HexUtil
-
Returns the hexadecimal character that represents the specified value.
- TomatenUtil - Class in de.tomatengames.util
-
The main class of the TomatenUtil library.
- toString() - Method in class de.tomatengames.util.data.OrderedHashSet
- toString() - Method in class de.tomatengames.util.data.TrackedDeque
- toString() - Method in class de.tomatengames.util.injector.InjectionKey
- toString() - Method in class de.tomatengames.util.io.AbsoluteFile
- toString() - Method in class de.tomatengames.util.io.AbsolutePath
- toString(int, int) - Static method in class de.tomatengames.util.TOTPUtil
-
Returns the specified HOTP/TOTP code as a fixed-length integer string.
- totpCounter(int, long) - Static method in class de.tomatengames.util.TOTPUtil
-
Returns the HOTP counter to be used for the TOTP at the specified timestamp in milliseconds (e.g.
- TOTPUtil - Class in de.tomatengames.util
-
Provides methods to calculate HOTP and TOTP codes.
- TrackedDeque<E> - Class in de.tomatengames.util.data
-
A deque that allows efficient random-access removal.
- TrackedDeque() - Constructor for class de.tomatengames.util.data.TrackedDeque
-
Creates a new and empty
TrackedDeque. - TrackedDeque.Element - Class in de.tomatengames.util.data
-
An element of a
TrackedDeque. - TrackedHeap<E> - Class in de.tomatengames.util.data
-
A heap that allows to efficiently update and remove arbitrary elements.
- TrackedHeap(Comparator) - Constructor for class de.tomatengames.util.data.TrackedHeap
-
Creates a new and empty
TrackedHeap. - TrackedHeap.Element - Class in de.tomatengames.util.data
-
An element of a
TrackedHeap. - traverseAll(N, Function, Consumer) - Static method in class de.tomatengames.util.PathfinderUtil
-
Utility to recursively find all PathNodes indirectly connected to the provided node.
- trimFront(String, char) - Static method in class de.tomatengames.util.StringUtil
-
Removes the first characters from the specified string that are equal to the specified character.
- trimFront(String, char, int) - Static method in class de.tomatengames.util.StringUtil
-
Removes the first characters from the specified string that are equal to the specified character.
- trimFront(String, IntPredicate) - Static method in class de.tomatengames.util.StringUtil
-
Removes the first characters from the specified string that match the predicate.
- trimFront(String, IntPredicate, int) - Static method in class de.tomatengames.util.StringUtil
-
Removes the first characters from the specified string that match the predicate.
U
- Undepender - Class in de.tomatengames.util
-
Deprecated.Since TomatenUtil 1.9. Use
Injectorinstead. - Unpool<E> - Class in de.tomatengames.util.pool
-
The
Unpoolclass implements thePoolinterface but does not actually pool objects. - Unpool(Supplier) - Constructor for class de.tomatengames.util.pool.Unpool
-
Constructs a new
Unpoolwith the specified supplier for creating objects. - unprovide(InjectionKey) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Removes the specified injection key from this provider.
- unprovide(InjectionKey) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Removes the specified injection key from this provider.
- unprovide(InjectionKey) - Static method in class de.tomatengames.util.injector.Injector
-
Removes the specified injection key from the root provider.
- unprovide(Class) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Removes the specified injection from this provider.
- unprovide(Class) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Removes the specified injection from this provider.
- unprovide(Class) - Static method in class de.tomatengames.util.injector.Injector
-
Removes the specified injection from the root provider.
- unprovide(String) - Method in class de.tomatengames.util.injector.InjectionEnvironment
-
Removes the specified injection key from this provider.
- unprovide(String) - Method in class de.tomatengames.util.injector.InjectionProvider
-
Removes the specified injection key from this provider.
- unprovide(String) - Static method in class de.tomatengames.util.injector.Injector
-
Removes the specified injection key from the root provider.
- updateUTF8(MessageDigest, char[]) - Static method in class de.tomatengames.util.HashUtil
-
UTF8-encodes the specified
chararray and passes it to the specifiedMessageDigest. - updateUTF8(MessageDigest, char[], int, int) - Static method in class de.tomatengames.util.HashUtil
-
UTF8-encodes the specified
chararray and passes it to the specifiedMessageDigest. - updateUTF8(MessageDigest, String) - Static method in class de.tomatengames.util.HashUtil
-
UTF8-encodes the specified
Stringand passes it to the specifiedMessageDigest. - UTF8Reader - Class in de.tomatengames.util.io
-
A
Readerthat reads bytes from anInputStreamand decodes them to characters using UTF-8. - UTF8Reader(InputStream) - Constructor for class de.tomatengames.util.io.UTF8Reader
-
Creates a new
UTF8Reader.
V
- VoidConsumerWithThrows<T> - Interface in de.tomatengames.util.function
-
A consumer that accepts no parameters
void. - VoidOutputStream - Class in de.tomatengames.util.io
-
An
OutputStreamthat ignores all data written to it. - VoidOutputStream() - Constructor for class de.tomatengames.util.io.VoidOutputStream
-
Creates a new
VoidOutputStream. - VoidToBooleanFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
boolean. - VoidToByteFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
byte. - VoidToCharFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
char. - VoidToDoubleFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
double. - VoidToFloatFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
float. - VoidToIntFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns an
int. - VoidToLongFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
long. - VoidToRefFunction<O> - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns an
Object. - VoidToShortFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns a
short. - VoidToVoidFunction - Interface in de.tomatengames.util.function
-
A function that accepts no parameters and returns nothing.
W
- write(byte[]) - Method in class de.tomatengames.util.io.CountingOutputStream
- write(byte[]) - Method in class de.tomatengames.util.io.VoidOutputStream
- write(byte[], int, int) - Method in class de.tomatengames.util.io.CountingOutputStream
- write(byte[], int, int) - Method in class de.tomatengames.util.io.VoidOutputStream
- write(int) - Method in class de.tomatengames.util.io.CountingOutputStream
- write(int) - Method in class de.tomatengames.util.io.VoidOutputStream
- write(T, OutputStream) - Method in interface de.tomatengames.util.ElementWriter
-
Writes the specified element to the
OutputStream. - writeBinaryFile(Path, byte[]) - Static method in class de.tomatengames.util.IOUtil
-
Writes the specified bytes to the specified file.
- writeBoolean(boolean, byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Writes a byte
0x01if the value istrueor0x00if the value isfalse. - writeBoolean(boolean, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Writes a byte
0x01if the value istrueor0x00if the value isfalse. - writeInt(int, byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 4 bytes of the specified value into the byte array.
- writeInt(int, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 4 bytes of the specified value into the output stream.
- writeLong(long, byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 8 bytes of the specified value into the byte array.
- writeLong(long, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 8 bytes of the specified value into the output stream.
- writeShort(int, byte[], int) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 2 lower-order bytes of the specified value into the byte array.
- writeShort(int, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Writes the 2 lower-order bytes of the specified value into the output stream.
- writeString(String, OutputStream) - Static method in class de.tomatengames.util.IOUtil
-
Writes the specified
Stringto theOutputStream. - writeTextFile(Path, String) - Static method in class de.tomatengames.util.IOUtil
-
Writes the specified text to the specified file.
Z
- zero(byte[]) - Static method in class de.tomatengames.util.pool.ZeroBytePool
-
Clears all elements in the specified byte array by setting them to zero.
- zero(byte[], int, int) - Static method in class de.tomatengames.util.pool.ZeroBytePool
-
Clears the specified range in the specified byte array by setting its elements in that range to zero.
- ZeroBytePool - Class in de.tomatengames.util.pool
-
A BytePool wrapper that clears (zeros) the provided byte arrays on free.
- ZeroBytePool(BytePool) - Constructor for class de.tomatengames.util.pool.ZeroBytePool
-
Constructs a new ZeroBytePool that wraps the specified source BytePool.
- ZipUtil - Class in de.tomatengames.util
-
Provides methods to handle ZIP files.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Injectorinstead.