- ABGR - Static variable in class net.lenni0451.commons.color.ColorConverter
-
The ABGR color format (0xAA_BB_GG_RR).
- add(byte[], byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a byte to the end of an array.
- add(byte[], int, byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a byte to an array at a specific index.
- add(byte[], byte...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple bytes to the end of an array.
- add(byte[], int, byte...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple bytes to an array at a specific index.
- add(byte[], byte[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple byte arrays to the end of an array.
- add(byte[], int, byte[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple byte arrays to an array at a specific index.
- add(short[], short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a short to the end of an array.
- add(short[], int, short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a short to an array at a specific index.
- add(short[], short...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple shorts to the end of an array.
- add(short[], int, short...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple shorts to an array at a specific index.
- add(short[], short[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple short arrays to the end of an array.
- add(short[], int, short[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple short arrays to an array at a specific index.
- add(char[], char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a char to the end of an array.
- add(char[], int, char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a char to an array at a specific index.
- add(char[], char...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple chars to the end of an array.
- add(char[], int, char...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple chars to an array at a specific index.
- add(char[], char[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple char arrays to the end of an array.
- add(char[], int, char[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple char arrays to an array at a specific index.
- add(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an int to the end of an array.
- add(int[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an int to an array at a specific index.
- add(int[], int...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple ints to the end of an array.
- add(int[], int, int...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple ints to an array at a specific index.
- add(int[], int[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple int arrays to the end of an array.
- add(int[], int, int[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple int arrays to an array at a specific index.
- add(long[], long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a long to the end of an array.
- add(long[], int, long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a long to an array at a specific index.
- add(long[], long...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple longs to the end of an array.
- add(long[], int, long...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple longs to an array at a specific index.
- add(long[], long[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple long arrays to the end of an array.
- add(long[], int, long[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple long arrays to an array at a specific index.
- add(float[], float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a float to the end of an array.
- add(float[], int, float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a float to an array at a specific index.
- add(float[], float...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple floats to the end of an array.
- add(float[], int, float...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple floats to an array at a specific index.
- add(float[], float[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple float arrays to the end of an array.
- add(float[], int, float[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple float arrays to an array at a specific index.
- add(double[], double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a double to the end of an array.
- add(double[], int, double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a double to an array at a specific index.
- add(double[], double...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple doubles to the end of an array.
- add(double[], int, double...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple doubles to an array at a specific index.
- add(double[], double[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple double arrays to the end of an array.
- add(double[], int, double[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple double arrays to an array at a specific index.
- add(O[], O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an object to the end of an array.
- add(O[], int, O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an object to an array at a specific index.
- add(O[], O...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple objects to the end of an array.
- add(O[], int, O...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple objects to an array at a specific index.
- add(O[], O[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple object arrays to the end of an array.
- add(O[], int, O[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple object arrays to an array at a specific index.
- addDirectory(String) - Method in class net.lenni0451.commons.io.FileSystemZip
-
Add a directory to the zip file.
- addEntry(String, byte[]) - Method in class net.lenni0451.commons.ByteArrayClassLoader
-
Add an entry to the class loader.
- addEntry(String, byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip
-
Add an entry to the zip file.
- addJar(byte[]) - Method in class net.lenni0451.commons.ByteArrayClassLoader
-
Add a jar to the class loader.
- any(Supplier<T>, O...) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new list with the given objects.
- any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new list which is passed to the given consumer.
- any(Supplier<T>, Object...) - Static method in class net.lenni0451.commons.collections.Maps
-
Create a new map with the given objects.
- any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Maps
-
Create a new map which is passed to the given consumer.
- any(Supplier<T>, O...) - Static method in class net.lenni0451.commons.collections.Sets
-
Create a new set with the given objects.
- any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Sets
-
Create a new set which is passed to the given consumer.
- ARGB - Static variable in class net.lenni0451.commons.color.ColorConverter
-
The ARGB color format (0xAA_RR_GG_BB).
- arrayList(O...) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new ArrayList with the given objects.
- arrayList(Consumer<ArrayList<O>>) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new ArrayList which is passed to the given consumer.
- ArrayUtils - Class in net.lenni0451.commons
-
- ArrayUtils() - Constructor for class net.lenni0451.commons.ArrayUtils
-
- ceilInt(float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Ceil a float to an int.
- ceilInt(double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Ceil a double to an int.
- ceilLong(float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Ceil a float to a long.
- ceilLong(double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Ceil a double to a long.
- clamp(int, int, int) - Static method in class net.lenni0451.commons.math.MathUtils
-
Clamp an int between a min and max value.
- clamp(long, long, long) - Static method in class net.lenni0451.commons.math.MathUtils
-
Clamp a long between a min and max value.
- clamp(float, float, float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Clamp a float between a min and max value.
- clamp(double, double, double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Clamp a double between a min and max value.
- close() - Method in class net.lenni0451.commons.io.FileSystemZip
-
- ColorConverter - Class in net.lenni0451.commons.color
-
Convert colors between different formats.
- ColorConverter(int, int, int) - Constructor for class net.lenni0451.commons.color.ColorConverter
-
Create a new color converter.
- ColorConverter(int, int, int, int) - Constructor for class net.lenni0451.commons.color.ColorConverter
-
Create a new color converter.
- ColorUtils - Class in net.lenni0451.commons.color
-
- ColorUtils() - Constructor for class net.lenni0451.commons.color.ColorUtils
-
- concurrentHashMap(Object...) - Static method in class net.lenni0451.commons.collections.Maps
-
Create a new ConcurrentHashMap with the given objects.
- concurrentHashMap(Consumer<ConcurrentHashMap<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
-
Create a new ConcurrentHashMap which is passed to the given consumer.
- convert(int, ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color from one format to another.
- copyOnWriteArrayList(O...) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new CopyOnWriteArrayList with the given objects.
- copyOnWriteArrayList(Consumer<CopyOnWriteArrayList<O>>) - Static method in class net.lenni0451.commons.collections.Lists
-
Create a new CopyOnWriteArrayList which is passed to the given consumer.
- count(String, String) - Static method in class net.lenni0451.commons.StringUtils
-
Count the amount of occurrences of a string in another string.
- create(String...) - Static method in class net.lenni0451.commons.io.FileUtils
-
Create a file from an array of parts.
- create(File, String...) - Static method in class net.lenni0451.commons.io.FileUtils
-
Create a file from a parent file and an array of parts.
- cut(String, int) - Static method in class net.lenni0451.commons.StringUtils
-
Cut the string to the given length.
- cut(String, char, int) - Static method in class net.lenni0451.commons.StringUtils
-
Cut the string to the given length.
- fake(Class<T>) - Static method in class net.lenni0451.commons.Sneaky
-
Fake throw an exception to have to declare it in the method signature.
- FileSystemZip - Class in net.lenni0451.commons.io
-
A fast zip file using the FileSystem API.
- FileSystemZip(File) - Constructor for class net.lenni0451.commons.io.FileSystemZip
-
Construct a new file system zip.
- FileSystemZip.Entry - Class in net.lenni0451.commons.io
-
The entry for a file in the zip file.
- FileUtils - Class in net.lenni0451.commons.io
-
- FileUtils() - Constructor for class net.lenni0451.commons.io.FileUtils
-
- findClass(String) - Method in class net.lenni0451.commons.ByteArrayClassLoader
-
- flip(String) - Static method in class net.lenni0451.commons.StringUtils
-
Flip the given string.
- floorInt(float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Floor a float to an int.
- floorInt(double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Floor a double to an int.
- floorLong(float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Floor a float to a long.
- floorLong(double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Floor a double to a long.
- forcePass() - Method in class net.lenni0451.commons.time.Timer
-
Force the timer to tick.
- forcePass() - Method in class net.lenni0451.commons.time.Timing
-
Force the time to have passed.
- forEach(Consumer<FileSystemZip.Entry>) - Method in class net.lenni0451.commons.io.FileSystemZip
-
Iterate over all entries in the zip file.
- format(String, long) - Static method in class net.lenni0451.commons.time.TimeFormatter
-
Format a time in milliseconds to a string.
- format(String, long, boolean) - Static method in class net.lenni0451.commons.time.TimeFormatter
-
Format a time in milliseconds to a (UTC) string.
- formatBytes(long) - Static method in class net.lenni0451.commons.math.MathUtils
-
Convert a byte count to a human-readable string.
- formatHHMMSS(long) - Static method in class net.lenni0451.commons.time.TimeFormatter
-
Format a time in milliseconds to a string in the format "HH:mm:ss".
- formatMMSS(long) - Static method in class net.lenni0451.commons.time.TimeFormatter
-
Format a time in milliseconds to a string in the format "mm:ss".
- from(int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert the int representation of a color to a color.
- from(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert the float representation of a color to a color.
- indexOf(byte[], byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a byte in an array.
- indexOf(byte[], byte[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a byte array in an array.
- indexOf(short[], short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a short in an array.
- indexOf(short[], short[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a short array in an array.
- indexOf(char[], char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a char in an array.
- indexOf(char[], char[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a char array in an array.
- indexOf(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an int in an array.
- indexOf(int[], int[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an int array in an array.
- indexOf(long[], long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a long in an array.
- indexOf(long[], long[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a long array in an array.
- indexOf(float[], float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a float in an array.
- indexOf(float[], float[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a float array in an array.
- indexOf(double[], double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a double in an array.
- indexOf(double[], double[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a double array in an array.
- indexOf(O[], O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an object in an array.
- indexOf(O[], O[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an object array in an array.
- indexOfLast(byte[], byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a byte in an array starting from the end.
- indexOfLast(short[], short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a short in an array starting from the end.
- indexOfLast(char[], char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a char in an array starting from the end.
- indexOfLast(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an int in an array starting from the end.
- indexOfLast(long[], long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a long in an array starting from the end.
- indexOfLast(float[], float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a float in an array starting from the end.
- indexOfLast(double[], double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of a double in an array starting from the end.
- indexOfLast(O[], O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Get the index of an object in an array starting from the end.
- interpolate(Color, Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Deprecated.
- interpolate(float, Color, Color) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Interpolate between two colors with a progress.
- interpolate(float, Color[], float[]) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Interpolate between multiple colors with a progress.
- interpolate(float, Color...) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Interpolate between multiple colors with a progress.
- invert(Color) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Invert a color.
- IOUtils - Class in net.lenni0451.commons.io
-
- IOUtils() - Constructor for class net.lenni0451.commons.io.IOUtils
-
- IPv4 - Class in net.lenni0451.commons.network
-
- IPv4() - Constructor for class net.lenni0451.commons.network.IPv4
-
- isByte(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid byte.
- isDecimal(float) - Static method in class net.lenni0451.commons.math.MathUtils
-
Check if a float is a decimal number.
- isDecimal(double) - Static method in class net.lenni0451.commons.math.MathUtils
-
Check if a double is a decimal number.
- isDirectory() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
-
- isDouble(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid double.
- isFile() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
-
- isFloat(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid float.
- isInteger(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid integer.
- isLong(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid long.
- isRunning() - Method in class net.lenni0451.commons.network.TorProxy
-
- isShort(String) - Static method in class net.lenni0451.commons.math.NumberChecker
-
Check if a string is a valid short.
- isStarted() - Method in class net.lenni0451.commons.network.TorProxy
-
- prepend(byte[], byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a byte to the start of an array.
- prepend(byte[], byte...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple bytes to the start of an array.
- prepend(byte[], byte[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple byte arrays to the start of an array.
- prepend(short[], short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a short to the start of an array.
- prepend(short[], short...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple shorts to the start of an array.
- prepend(short[], short[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple short arrays to the start of an array.
- prepend(char[], char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a char to the start of an array.
- prepend(char[], char...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple chars to the start of an array.
- prepend(char[], char[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple char arrays to the start of an array.
- prepend(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an int to the start of an array.
- prepend(int[], int...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple ints to the start of an array.
- prepend(int[], int[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple int arrays to the start of an array.
- prepend(long[], long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a long to the start of an array.
- prepend(long[], long...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple longs to the start of an array.
- prepend(long[], long[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple long arrays to the start of an array.
- prepend(float[], float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a float to the start of an array.
- prepend(float[], float...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple floats to the start of an array.
- prepend(float[], float[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple float arrays to the start of an array.
- prepend(double[], double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add a double to the start of an array.
- prepend(double[], double...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple doubles to the start of an array.
- prepend(double[], double[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple double arrays to the start of an array.
- prepend(O[], O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add an object to the start of an array.
- prepend(O[], O...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple objects to the start of an array.
- prepend(O[], O[]...) - Static method in class net.lenni0451.commons.ArrayUtils
-
Add multiple object arrays to the start of an array.
- priority(int) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
-
Set the priority of the threads.
- randomBytes(int) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate random bytes with the given length.
- randomDouble(double, double) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate a random double between the given min and max.
- randomElement(T[]) - Static method in class net.lenni0451.commons.RandomUtils
-
Get a random element from the given array.
- randomElement(List<T>) - Static method in class net.lenni0451.commons.RandomUtils
-
Get a random element from the given list.
- randomInt(int, int) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate a random integer between the given min and max.
- randomizeCase(String) - Static method in class net.lenni0451.commons.RandomUtils
-
Randomize the case of the given string.
- randomLong(long, long) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate a random long between the given min and max.
- randomString(int) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate a random string with the given length.
- randomString(int, String) - Static method in class net.lenni0451.commons.RandomUtils
-
Generate a random string with the given length and charset.
- RandomUtils - Class in net.lenni0451.commons
-
- RandomUtils() - Constructor for class net.lenni0451.commons.RandomUtils
-
- read(File, InputStream) - Static method in class net.lenni0451.commons.io.FileUtils
-
Read all bytes from a stream and write them to a file.
- readAll(InputStream) - Static method in class net.lenni0451.commons.io.IOUtils
-
Read all bytes from a stream.
- readResource(String) - Static method in class net.lenni0451.commons.io.IOUtils
-
Read a resource from the classpath as bytes.
- readResource(Class<?>, String) - Static method in class net.lenni0451.commons.io.IOUtils
-
Read a resource from the classpath as bytes.
- readResource(ClassLoader, String) - Static method in class net.lenni0451.commons.io.IOUtils
-
Read a resource from the classpath as bytes.
- reconnect() - Method in class net.lenni0451.commons.network.TorProxy
-
Reconnect to the Tor network.
- remove(byte[], byte) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given byte from an array.
- remove(short[], short) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given short from an array.
- remove(char[], char) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given char from an array.
- remove(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given int from an array.
- remove(long[], long) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given long from an array.
- remove(float[], float) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given float from an array.
- remove(double[], double) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given double from an array.
- remove(O[], O) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a given object from an array.
- removeAt(byte[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a byte from an array at a specific index.
- removeAt(byte[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple bytes from an array at a specific index.
- removeAt(short[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a short from an array at a specific index.
- removeAt(short[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple shorts from an array at a specific index.
- removeAt(char[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a char from an array at a specific index.
- removeAt(char[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple chars from an array at a specific index.
- removeAt(int[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove an int from an array at a specific index.
- removeAt(int[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple ints from an array at a specific index.
- removeAt(long[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a long from an array at a specific index.
- removeAt(long[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple longs from an array at a specific index.
- removeAt(float[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a float from an array at a specific index.
- removeAt(float[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple floats from an array at a specific index.
- removeAt(double[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove a double from an array at a specific index.
- removeAt(double[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple doubles from an array at a specific index.
- removeAt(O[], int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove an object from an array at a specific index.
- removeAt(O[], int, int) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove multiple objects from an array at a specific index.
- removeFirst(byte[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first byte from an array.
- removeFirst(short[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first short from an array.
- removeFirst(char[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first char from an array.
- removeFirst(int[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first int from an array.
- removeFirst(long[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first long from an array.
- removeFirst(float[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first float from an array.
- removeFirst(double[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first double from an array.
- removeFirst(O[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the first object from an array.
- removeLast(byte[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last byte from an array.
- removeLast(short[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last short from an array.
- removeLast(char[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last char from an array.
- removeLast(int[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last int from an array.
- removeLast(long[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last long from an array.
- removeLast(float[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last float from an array.
- removeLast(double[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last double from an array.
- removeLast(O[]) - Static method in class net.lenni0451.commons.ArrayUtils
-
Remove the last object from an array.
- repeat(char, int) - Static method in class net.lenni0451.commons.StringUtils
-
Repeat the char a given amount of times.
- repeat(String, int) - Static method in class net.lenni0451.commons.StringUtils
-
Repeat the string a given amount of times.
- repeat(Runnable, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Repeat a task with a fixed delay.
- repeat(Runnable, long, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Repeat a task with a fixed delay.
- repeat(Runnable, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Repeat a task with a fixed delay.
- repeat(Runnable, long, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Repeat a task with a fixed delay.
- reset() - Method in class net.lenni0451.commons.time.Timer
-
Reset the time.
- reset() - Method in class net.lenni0451.commons.time.Timing
-
Reset the time.
- RGB - Static variable in class net.lenni0451.commons.color.ColorConverter
-
The RGB color format (0xRR_GG_BB).
- RGBA - Static variable in class net.lenni0451.commons.color.ColorConverter
-
The RGBA color format (0xRR_GG_BB_AA).
- round(float, int) - Static method in class net.lenni0451.commons.math.MathUtils
-
Round a float to a certain precision.
- round(double, int) - Static method in class net.lenni0451.commons.math.MathUtils
-
Round a double to a certain precision.
- run() - Method in interface net.lenni0451.commons.Sneaky.SneakyRunnable
-
- schedule(Runnable, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Schedule a task to be executed after a delay.
- schedule(Runnable, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
-
Schedule a task to be executed after a delay.
- setAlpha(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Set the alpha value of a color.
- setAlpha(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Set the alpha value of a color.
- setBlue(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Set the blue value of a color.
- setBlue(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Set the blue value of a color.
- setData(byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
-
Set the data of the entry.
- setGreen(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Set the green value of a color.
- setGreen(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Set the green value of a color.
- setRed(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Set the red value of a color.
- setRed(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
-
Set the red value of a color.
- Sets - Class in net.lenni0451.commons.collections
-
- Sets() - Constructor for class net.lenni0451.commons.collections.Sets
-
- sleep(long) - Static method in class net.lenni0451.commons.threading.ThreadUtils
-
Sleeps the current thread for the given amount of time.
- SliceCalculator<T> - Class in net.lenni0451.commons.math
-
Take a list and calculate slices of it.
- SliceCalculator(List<T>, int) - Constructor for class net.lenni0451.commons.math.SliceCalculator
-
- sneak(Throwable) - Static method in class net.lenni0451.commons.Sneaky
-
Throw a throwable without having to declare it in the method signature.
- sneak(Sneaky.SneakyRunnable) - Static method in class net.lenni0451.commons.Sneaky
-
Run a runnable without having to declare the throwable in the method signature.
- sneak(Sneaky.SneakySupplier<O>) - Static method in class net.lenni0451.commons.Sneaky
-
Get a value from a supplier without having to declare the throwable in the method signature.
- Sneaky - Class in net.lenni0451.commons
-
- Sneaky() - Constructor for class net.lenni0451.commons.Sneaky
-
- Sneaky.SneakyRunnable - Interface in net.lenni0451.commons
-
- Sneaky.SneakySupplier<T> - Interface in net.lenni0451.commons
-
- sort(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
-
Sort a map using the given comparator.
- sort(Set<T>, Comparator<T>) - Static method in class net.lenni0451.commons.collections.Sets
-
Sort a set using the given comparator.
- squared(float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
-
Calculate the squared distance between two points (2D).
- squared(double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
-
Calculate the squared distance between two points (2D).
- squared(float, float, float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
-
Calculate the squared distance between two points (3D).
- squared(double, double, double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
-
Calculate the squared distance between two points (3D).
- start() - Method in class net.lenni0451.commons.network.TorProxy
-
Start the Tor process.
- startTimerHackThread() - Static method in class net.lenni0451.commons.threading.ThreadUtils
-
Start a thread that will sleep forever.
- stop() - Method in class net.lenni0451.commons.network.TorProxy
-
Stop the Tor process.
- StringUtils - Class in net.lenni0451.commons
-
- StringUtils() - Constructor for class net.lenni0451.commons.StringUtils
-
- ThreadFactoryImpl - Class in net.lenni0451.commons.threading
-
A simple thread factory implementation.
- ThreadScheduler - Class in net.lenni0451.commons.threading
-
A thread scheduler that can execute tasks with a delay or repeat them.
- ThreadScheduler(boolean, boolean) - Constructor for class net.lenni0451.commons.threading.ThreadScheduler
-
Create a new task scheduler.
- ThreadUtils - Class in net.lenni0451.commons.threading
-
- ThreadUtils() - Constructor for class net.lenni0451.commons.threading.ThreadUtils
-
- TimeFormatter - Class in net.lenni0451.commons.time
-
- TimeFormatter() - Constructor for class net.lenni0451.commons.time.TimeFormatter
-
- Timer - Class in net.lenni0451.commons.time
-
A simple class to ensure that a fixed amount of time has passed.
- Timer(long) - Constructor for class net.lenni0451.commons.time.Timer
-
- timeUntil() - Method in class net.lenni0451.commons.time.Timer
-
- timeUntil(long) - Method in class net.lenni0451.commons.time.Timing
-
Get the time until a certain amount of time has passed.
- Timing - Class in net.lenni0451.commons.time
-
A simple class to ensure that a given amount of time has passed.
- Timing() - Constructor for class net.lenni0451.commons.time.Timing
-
- to(Color) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color to its int representation.
- to(int, int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color to its int representation.
- toFloats(Color) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color to its float representation.
- toFloats(int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color to its float representation.
- toFloats(int, int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
-
Convert a color to its float representation.
- toInt(String) - Static method in class net.lenni0451.commons.network.IPv4
-
Convert an IPv4 address to an int.
- TorProxy - Class in net.lenni0451.commons.network
-
Start and manage a Tor proxy instance.
- TorProxy(File) - Constructor for class net.lenni0451.commons.network.TorProxy
-
Create a new Tor proxy instance.
- TorProxy(File, int) - Constructor for class net.lenni0451.commons.network.TorProxy
-
Create a new Tor proxy instance.
- TorProxy(File, int, int) - Constructor for class net.lenni0451.commons.network.TorProxy
-
Create a new Tor proxy instance.
- toString(int) - Static method in class net.lenni0451.commons.network.IPv4
-
Convert an int to an IPv4 address.