Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 

A

ABGR - Static variable in class net.lenni0451.commons.color.ColorConverter
The ABGR color format (0xAA_BB_GG_RR).
accept(T) - Method in interface net.lenni0451.commons.Sneaky.SneakyConsumer
 
add(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a boolean to the end of an array.
add(boolean[], int, boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a boolean to an array at a specific index.
add(boolean[], boolean...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple booleans to the end of an array.
add(boolean[], int, boolean...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple booleans to an array at a specific index.
add(boolean[], boolean[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple boolean arrays to the end of an array.
add(boolean[], int, boolean[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple boolean arrays to an array at a specific index.
add(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a byte to the end of an array.
add(byte[], int, byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a byte to an array at a specific index.
add(byte[], byte...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple bytes to the end of an array.
add(byte[], int, byte...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple bytes to an array at a specific index.
add(byte[], byte[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple byte arrays to the end of an array.
add(byte[], int, byte[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple byte arrays to an array at a specific index.
add(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a short to the end of an array.
add(short[], int, short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a short to an array at a specific index.
add(short[], short...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple shorts to the end of an array.
add(short[], int, short...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple shorts to an array at a specific index.
add(short[], short[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple short arrays to the end of an array.
add(short[], int, short[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple short arrays to an array at a specific index.
add(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a char to the end of an array.
add(char[], int, char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a char to an array at a specific index.
add(char[], char...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple chars to the end of an array.
add(char[], int, char...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple chars to an array at a specific index.
add(char[], char[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple char arrays to the end of an array.
add(char[], int, char[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple char arrays to an array at a specific index.
add(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a int to the end of an array.
add(int[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a int to an array at a specific index.
add(int[], int...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple ints to the end of an array.
add(int[], int, int...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple ints to an array at a specific index.
add(int[], int[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple int arrays to the end of an array.
add(int[], int, int[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple int arrays to an array at a specific index.
add(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a long to the end of an array.
add(long[], int, long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a long to an array at a specific index.
add(long[], long...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple longs to the end of an array.
add(long[], int, long...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple longs to an array at a specific index.
add(long[], long[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple long arrays to the end of an array.
add(long[], int, long[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple long arrays to an array at a specific index.
add(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a float to the end of an array.
add(float[], int, float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a float to an array at a specific index.
add(float[], float...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple floats to the end of an array.
add(float[], int, float...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple floats to an array at a specific index.
add(float[], float[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple float arrays to the end of an array.
add(float[], int, float[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple float arrays to an array at a specific index.
add(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a double to the end of an array.
add(double[], int, double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a double to an array at a specific index.
add(double[], double...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple doubles to the end of an array.
add(double[], int, double...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple doubles to an array at a specific index.
add(double[], double[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple double arrays to the end of an array.
add(double[], int, double[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple double arrays to an array at a specific index.
add(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add an object to the end of an array.
add(O[], int, O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add an object to an array at a specific index.
add(O[], O...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple objects to the end of an array.
add(O[], int, O...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple objects to an array at a specific index.
add(O[], O[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple object arrays to the end of an array.
add(O[], int, O[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple object arrays to an array at a specific index.
add(T) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Add a value to the array.
add(double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Add the given value to the point.
add(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Add the given values to the point.
add(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Add the values of the given point to this point.
add(float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Add the given value to the point.
add(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Add the given values to the point.
add(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Add the values of the given point to this point.
add(int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Add the given value to the point.
add(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Add the given values to the point.
add(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Add the values of the given point to this point.
add(double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Add the given value to the point.
add(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Add the given values to the point.
add(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Add the values of the given point to this point.
add(float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Add the given value to the point.
add(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Add the given values to the point.
add(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Add the values of the given point to this point.
add(int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Add the given value to the point.
add(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Add the given values to the point.
add(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Add the values of the given point to this point.
addAll(T...) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Add multiple values to the array.
addAll(ArrayWrapper<T>) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Add values from another ArrayWrapper to the array.
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.classloader.ByteArrayClassLoader
Add an entry to the class loader.
The name is the full path to the class file:
e.g.
addEntry(String, byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip
Add an entry to the zip file.
If bytes is null a directory will be created.
addJar(byte[]) - Method in class net.lenni0451.commons.classloader.ByteArrayClassLoader
Add a jar to the class loader.
All entries will be iterated and added.
AESEncryption - Class in net.lenni0451.commons.crypto
 
AESEncryption() - Constructor for class net.lenni0451.commons.crypto.AESEncryption
 
AESEncryption(AESEncryption.Settings) - Constructor for class net.lenni0451.commons.crypto.AESEncryption
 
AESEncryption.Settings - Class in net.lenni0451.commons.crypto
 
align(int, int) - Static method in class net.lenni0451.commons.math.MathUtils
Align a value to the given alignment.
The alignment must be a power of two and greater than 0.
align(long, long) - Static method in class net.lenni0451.commons.math.MathUtils
Align a value to the given alignment.
The alignment must be a power of two and greater than 0.
alignPOT(int, int) - Static method in class net.lenni0451.commons.math.MathUtils
Align a value to the given alignment.
The alignment must be a power of two and greater than 0.
alignPOT(long, long) - Static method in class net.lenni0451.commons.math.MathUtils
Align a value to the given alignment.
The alignment must be a power of two and greater than 0.
AllHostnameVerifier - Class in net.lenni0451.commons.network.trust
 
AllHostnameVerifier() - Constructor for class net.lenni0451.commons.network.trust.AllHostnameVerifier
 
AllTrustManager - Class in net.lenni0451.commons.network.trust
 
AllTrustManager() - Constructor for class net.lenni0451.commons.network.trust.AllTrustManager
 
append(byte[]) - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
Append data to the stream.
If the internal buffer is full, it will be resized according to the growth factor.
apply(T) - Method in interface net.lenni0451.commons.Sneaky.SneakyFunction
 
ARGB - Static variable in class net.lenni0451.commons.color.ColorConverter
The ARGB color format (0xAA_RR_GG_BB).
ArrayUtils - Class in net.lenni0451.commons.arrays
 
ArrayUtils() - Constructor for class net.lenni0451.commons.arrays.ArrayUtils
 
ArrayWrapper<T> - Class in net.lenni0451.commons.arrays.wrapper
A wrapper for arrays to make them easier to use and add some useful methods.
ArrayWrapper(T[]) - Constructor for class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
 
available() - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 

B

between(float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
Calculate the distance between two points (2D).
between(double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
Calculate the distance between two points (2D).
between(float, float, float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
Calculate the distance between two points (3D).
between(double, double, double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
Calculate the distance between two points (3D).
BGR - Static variable in class net.lenni0451.commons.color.ColorConverter
The BGR color format (0xBB_GG_RR).
BGRA - Static variable in class net.lenni0451.commons.color.ColorConverter
The BGRA color format (0xBB_GG_RR_AA).
BinaryOrToken - Class in net.lenni0451.commons.strings.search.tokens
 
BinaryOrToken(ISearchToken, ISearchToken) - Constructor for class net.lenni0451.commons.strings.search.tokens.BinaryOrToken
 
BLACK - Static variable in class net.lenni0451.commons.color.Color
 
BLUE - Static variable in class net.lenni0451.commons.color.Color
 
brighter() - Method in class net.lenni0451.commons.color.Color
 
brighter(float) - Method in class net.lenni0451.commons.color.Color
Brighten this color by the given factor.
ByteArrayClassLoader - Class in net.lenni0451.commons.classloader
A class loader with the ability to load classes from a byte array.
ByteArrayClassLoader(ClassLoader) - Constructor for class net.lenni0451.commons.classloader.ByteArrayClassLoader
 
ByteArrayURLStreamHandler - Class in net.lenni0451.commons.io
An URLStreamHandler which opens an URLConnection to a byte array.
ByteArrayURLStreamHandler(byte[]) - Constructor for class net.lenni0451.commons.io.ByteArrayURLStreamHandler
 

C

calculate() - Method in class net.lenni0451.commons.lazy.Lazy
 
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.
checkClientTrusted(X509Certificate[], String, Socket) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
checkClientTrusted(X509Certificate[], String, SSLEngine) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
checkClientTrusted(X509Certificate[], String) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
checkServerTrusted(X509Certificate[], String, Socket) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
checkServerTrusted(X509Certificate[], String, SSLEngine) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
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
 
close() - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 
close() - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
Close the stream.
Any blocked read operations will be unblocked and return -1 if no more data is available.
close(Throwable) - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
Close the stream with an error.
Any blocked read operations will be unblocked and throw an IOException with the given error as cause.
Color - Class in net.lenni0451.commons.color
 
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.
The shifts have to be a multiple of 8.
ColorConverter(int, int, int, int) - Constructor for class net.lenni0451.commons.color.ColorConverter
Create a new color converter.
The shifts have to be a multiple of 8.
ColorUtils - Class in net.lenni0451.commons.color
 
ColorUtils() - Constructor for class net.lenni0451.commons.color.ColorUtils
 
contains(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific boolean.
contains(boolean[], boolean[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another boolean array.
contains(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific byte.
contains(byte[], byte[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another byte array.
contains(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific short.
contains(short[], short[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another short array.
contains(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific char.
contains(char[], char[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another char array.
contains(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific int.
contains(int[], int[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another int array.
contains(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific long.
contains(long[], long[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another long array.
contains(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific float.
contains(float[], float[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another float array.
contains(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific double.
contains(double[], double[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another double array.
contains(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains a specific object.
contains(O[], O[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Check if an array contains another object array.
contains(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the index is in the array.
contains(T) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value is in the array.
contains(RectD) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Check if this rectangle contains another rectangle.
contains(RectF) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Check if this rectangle contains another rectangle.
contains(RectI) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Check if this rectangle contains another rectangle.
contains(String) - Method in class net.lenni0451.commons.strings.search.tokens.BinaryOrToken
 
contains(String) - Method in interface net.lenni0451.commons.strings.search.tokens.ISearchToken
 
contains(String) - Method in class net.lenni0451.commons.strings.search.tokens.RequiredToken
 
convert(int, ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
Convert a color from one format to another.
convert(float[], ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
Convert a color from one format to another.
convertToFloats(int, ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
Convert an int color representation to a float color representation.
convertToInt(float[], ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
Convert a float color representation to an int color representation.
count(String, String) - Static method in class net.lenni0451.commons.strings.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.strings.StringUtils
Cut the string to the given length.
If the string is shorter it will be returned as it is.
cut(String, char, int) - Static method in class net.lenni0451.commons.strings.StringUtils
Cut the string to the given length.
The filler will be appended if the string is shorter.
CYAN - Static variable in class net.lenni0451.commons.color.Color
 

D

daemon(boolean) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the daemon state of the threads.
DARK_GRAY - Static variable in class net.lenni0451.commons.color.Color
 
darker() - Method in class net.lenni0451.commons.color.Color
 
darker(float) - Method in class net.lenni0451.commons.color.Color
Darken this color by the given factor.
decrypt(byte[], byte[]) - Method in class net.lenni0451.commons.crypto.AESEncryption
Decrypt the data with the given key.
decrypt(byte[], InputStream, OutputStream) - Method in class net.lenni0451.commons.crypto.AESEncryption
Read and decrypt the data from the input stream and write it to the output stream.
delay - Variable in class net.lenni0451.commons.time.Timer
 
DelegatingInputStream - Class in net.lenni0451.commons.io.stream
 
DelegatingInputStream() - Constructor for class net.lenni0451.commons.io.stream.DelegatingInputStream
 
delete() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
Delete the entry.
If the entry is a directory all sub entries will be deleted as well.
deletePathTree(File) - Static method in class net.lenni0451.commons.io.FileUtils
Recursively delete a file or directory using the Path API.
If the file is a directory all files and directories in it will be deleted as well.
directABGR(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from alpha, blue, green and red values.
This method does not perform bounds checking.
directABGRF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from alpha, blue, green and red values.
This method does not perform bounds checking.
directARGB(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from alpha, red, green and blue values.
This method does not perform bounds checking.
directARGBF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from alpha, red, green and blue values.
This method does not perform bounds checking.
directBGR(int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from blue, green and red values.
This method does not perform bounds checking.
directBGRA(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from blue, green, red and alpha values.
This method does not perform bounds checking.
directBGRAF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from blue, green, red and alpha values.
This method does not perform bounds checking.
directBGRF(float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from blue, green and red values.
This method does not perform bounds checking.
directRGB(int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from red, green and blue values.
This method does not perform bounds checking.
directRGBA(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from red, green, blue and alpha values.
This method does not perform bounds checking.
directRGBAF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from red, green, blue and alpha values.
This method does not perform bounds checking.
directRGBF(float, float, float) - Static method in class net.lenni0451.commons.color.Color
Directly create a color from red, green and blue values.
This method does not perform bounds checking.
distance(Color) - Method in class net.lenni0451.commons.color.Color
Calculate the distance between this color and another color.
distance(Color, Color) - Static method in class net.lenni0451.commons.color.ColorUtils
Get the distance between two colors.
Distance - Class in net.lenni0451.commons.math
 
Distance() - Constructor for class net.lenni0451.commons.math.Distance
 
distance(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Calculate the distance between this point and the given point.
distance(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Calculate the distance between this point and the given point.
distance(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Calculate the distance between this point and the given point.
distance(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Calculate the distance between this point and the given point.
distance(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Calculate the distance between this point and the given point.
distance(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Calculate the distance between this point and the given point.
distance(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Calculate the distance between this point and the given point.
distance(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Calculate the distance between this point and the given point.
distance(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Calculate the distance between this point and the given point.
distance(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Calculate the distance between this point and the given point.
distance(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Calculate the distance between this point and the given point.
distance(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Calculate the distance between this point and the given point.
distanceSquared(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Calculate the square distance between this point and the given point.
distanceSquared(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Calculate the square distance between this point and the given point.
distanceSquared(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Calculate the square distance between this point and the given point.
distanceSquared(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Calculate the square distance between this point and the given point.
distanceSquared(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Calculate the square distance between this point and the given point.
distanceSquared(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Calculate the square distance between this point and the given point.
distanceSquared(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Calculate the square distance between this point and the given point.
distanceSquared(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Calculate the square distance between this point and the given point.
distanceSquared(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Calculate the square distance between this point and the given point.
distanceSquared(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Calculate the square distance between this point and the given point.
distanceSquared(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Calculate the square distance between this point and the given point.
distanceSquared(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Calculate the square distance between this point and the given point.
divide(double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Divide the point by the given value.
divide(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Divide the point by the given values.
divide(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Divide this point by the values of the given point.
divide(float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Divide the point by the given value.
divide(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Divide the point by the given values.
divide(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Divide this point by the values of the given point.
divide(int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Divide the point by the given value.
divide(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Divide the point by the given values.
divide(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Divide this point by the values of the given point.
divide(double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Divide the point by the given value.
divide(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Divide the point by the given values.
divide(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Divide this point by the values of the given point.
divide(float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Divide the point by the given value.
divide(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Divide the point by the given values.
divide(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Divide this point by the values of the given point.
divide(int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Divide the point by the given value.
divide(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Divide the point by the given values.
divide(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Divide this point by the values of the given point.

E

encrypt(byte[], byte[]) - Method in class net.lenni0451.commons.crypto.AESEncryption
Encrypt the data with the given key.
encrypt(byte[], InputStream, OutputStream) - Method in class net.lenni0451.commons.crypto.AESEncryption
Read and encrypt the data from the input stream and write it to the output stream.
equals(Object) - Method in class net.lenni0451.commons.color.Color
 
exceptionHandler(Thread.UncaughtExceptionHandler) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the exception handler of the threads.
execute(Runnable) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Directly execute a task.
exists() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
expandSubnet(String) - Static method in class net.lenni0451.commons.network.IPv4
Expand a subnet to all possible addresses.
expandSubnet(int, int) - Static method in class net.lenni0451.commons.network.IPv4
Expand a subnet to all possible addresses.
ExpiringLazy<T> - Class in net.lenni0451.commons.lazy
A Lazy implementation with an expiration time.
The value will be recalculated after the expiration time has passed.
ExpiringLazy(ExpiringLazy.ExpirationType, long) - Constructor for class net.lenni0451.commons.lazy.ExpiringLazy
 
ExpiringLazy.ExpirationType - Enum in net.lenni0451.commons.lazy
 

F

fake(Class<T>) - Static method in class net.lenni0451.commons.Sneaky
Fake throw an exception to have to declare it in the method signature.
Can be used to suppress warnings when using Sneaky.sneak(java.lang.Throwable)
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.
If the file does not exist a new zip file will be created.
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.classloader.ByteArrayClassLoader
 
findResource(String) - Method in class net.lenni0451.commons.classloader.ByteArrayClassLoader
 
findResources(String) - Method in class net.lenni0451.commons.classloader.ByteArrayClassLoader
 
flip(String) - Static method in class net.lenni0451.commons.strings.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 - Variable in class net.lenni0451.commons.time.Timer
 
forcePass() - Method in class net.lenni0451.commons.time.Timer
Force the timer to tick.
forcePass - Variable in class net.lenni0451.commons.time.Timing
 
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.
See SimpleDateFormat for the format string.
format(String, long, boolean) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a (UTC) string.
See SimpleDateFormat for the format 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".
e.g.
formatMMSS(long) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a string in the format "mm:ss".
e.g.
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.
from(float, float, float) - Method in class net.lenni0451.commons.color.ColorConverter
Convert the float representation of a color to a color.
from(float, float, float, float) - Method in class net.lenni0451.commons.color.ColorConverter
Convert the float representation of a color to a color.
fromABGR(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xAABBGGRR
fromABGR(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from alpha, blue, green and red values.
The values must be between 0 and 255 (inclusive).
fromABGRF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 4.
The array must contain the values in the order: a, b, g, r
The values must be between 0 and 1 (inclusive).
fromABGRF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from alpha, blue, green and red values.
The values must be between 0 and 1 (inclusive).
fromARGB(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xAARRGGBB
fromARGB(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from alpha, red, green and blue values.
The values must be between 0 and 255 (inclusive).
fromARGBF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 4.
The array must contain the values in the order: a, r, g, b
The values must be between 0 and 1 (inclusive).
fromARGBF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from alpha, red, green and blue values.
The values must be between 0 and 1 (inclusive).
fromAWT(Color) - Static method in class net.lenni0451.commons.color.Color
Create a color from an AWT color.
The alpha value will be included in the created color.
fromBGR(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xBBGGRR
fromBGR(int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from blue, green and red values.
The values must be between 0 and 255 (inclusive).
fromBGRA(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xBBGGRRAA
fromBGRA(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from blue, green, red and alpha values.
The values must be between 0 and 255 (inclusive).
fromBGRAF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 4.
The array must contain the values in the order: b, g, r, a
The values must be between 0 and 1 (inclusive).
fromBGRAF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from blue, green, red and alpha values.
The values must be between 0 and 1 (inclusive).
fromBGRF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 3.
The array must contain the values in the order: b, g, r
The values must be between 0 and 1 (inclusive).
fromBGRF(float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from blue, green and red values.
The values must be between 0 and 1 (inclusive).
fromHSB(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 3.
The array must contain the values in the order: h, s, b
The values must be between 0 and 1 (inclusive).
fromHSB(float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from HSB values.
The values must be between 0 and 1.
fromRGB(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xRRGGBB
fromRGB(int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from red, green and blue values.
The values must be between 0 and 255 (inclusive).
fromRGBA(int) - Static method in class net.lenni0451.commons.color.Color
Create a color from an int.
The int must be in the format: 0xRRGGBBAA
fromRGBA(int, int, int, int) - Static method in class net.lenni0451.commons.color.Color
Create a color from red, green, blue and alpha values.
The values must be between 0 and 255 (inclusive).
fromRGBAF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 4.
The array must contain the values in the order: r, g, b, a
The values must be between 0 and 1 (inclusive).
fromRGBAF(float, float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from red, green, blue and alpha values.
The values must be between 0 and 1 (inclusive).
fromRGBF(float[]) - Static method in class net.lenni0451.commons.color.Color
Create a color from a float array.
The array must have a length of 3.
The array must contain the values in the order: r, g, b
The values must be between 0 and 1 (inclusive).
fromRGBF(float, float, float) - Static method in class net.lenni0451.commons.color.Color
Create a color from red, green and blue values.
The values must be between 0 and 1 (inclusive).

G

get(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index.
get(int, T) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index or the default value if the index is not in the array.
get() - Method in class net.lenni0451.commons.lazy.ExpiringLazy
 
get() - Method in class net.lenni0451.commons.lazy.Lazy
 
get() - Method in interface net.lenni0451.commons.Sneaky.SneakySupplier
 
getAcceptedIssuers() - Method in class net.lenni0451.commons.network.trust.AllTrustManager
 
getAlpha() - Method in class net.lenni0451.commons.color.Color
 
getAlpha(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the alpha value of a color.
getAlpha(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
Get the alpha value of a color.
getAlphaF() - Method in class net.lenni0451.commons.color.Color
 
getArea() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
getArea() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
getArea() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
getArea() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getArea() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getArea() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getArray() - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
 
getBlue() - Method in class net.lenni0451.commons.color.Color
 
getBlue(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the blue value of a color.
getBlue(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
Get the blue value of a color.
getBlueF() - Method in class net.lenni0451.commons.color.Color
 
getBoolean(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a boolean.
If the index is not in the array this will return false.
getBoolean(int, boolean) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a boolean or the default value if the index is not in the array.
getBoolean(int, boolean) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getBoolean(int, boolean) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getByte(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a byte.
If the index is not in the array this will return 0.
getByte(int, byte) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a byte or the default value if the index is not in the array.
getByte(int, byte) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getByte(int, byte) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getCentroid() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getCentroid() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getCentroid() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getChar(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a char.
If the index is not in the array this will return 0.
getChar(int, char) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a char or the default value if the index is not in the array.
getChar(int, char) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getChar(int, char) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getControlPort() - Method in class net.lenni0451.commons.network.TorProxy
 
getData() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
Get the data of the entry.
getDelay() - Method in class net.lenni0451.commons.time.Timer
 
getDouble(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a double.
If the index is not in the array this will return 0.
getDouble(int, double) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a double or the default value if the index is not in the array.
getDouble(int, double) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getDouble(int, double) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getEntry(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Get an entry from the zip file.
getExpirationTime() - Method in class net.lenni0451.commons.lazy.ExpiringLazy
 
getExpirationType() - Method in class net.lenni0451.commons.lazy.ExpiringLazy
 
getFile() - Method in class net.lenni0451.commons.io.FileSystemZip
 
getFloat(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a float.
If the index is not in the array this will return 0.
getFloat(int, float) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a float or the default value if the index is not in the array.
getFloat(int, float) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getFloat(int, float) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getGreen() - Method in class net.lenni0451.commons.color.Color
 
getGreen(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the green value of a color.
getGreen(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
Get the green value of a color.
getGreenF() - Method in class net.lenni0451.commons.color.Color
 
getHeight() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
getHeight() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
getHeight() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
getIndex() - Method in class net.lenni0451.commons.strings.StringReader
 
getInt(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as an int.
If the index is not in the array this will return 0.
getInt(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as an int or the default value if the index is not in the array.
getInt(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getInt(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getKeyword() - Method in class net.lenni0451.commons.strings.search.tokens.BinaryOrToken
 
getKeyword() - Method in interface net.lenni0451.commons.strings.search.tokens.ISearchToken
 
getKeyword() - Method in class net.lenni0451.commons.strings.search.tokens.KeywordToken
 
getKeyword() - Method in class net.lenni0451.commons.strings.search.tokens.RequiredToken
 
getList() - Method in class net.lenni0451.commons.math.SliceCalculator
 
getLong(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a long.
If the index is not in the array this will return 0.
getLong(int, long) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a long or the default value if the index is not in the array.
getLong(int, long) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getLong(int, long) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getName() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
getPassedTime() - Method in class net.lenni0451.commons.time.NanoTimer
 
getPassedTime() - Method in class net.lenni0451.commons.time.NanoTiming
 
getPassedTime() - Method in class net.lenni0451.commons.time.Timer
 
getPassedTime() - Method in class net.lenni0451.commons.time.Timing
 
getPath() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
getPerimeter() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getPerimeter() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getPerimeter() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getPort() - Method in class net.lenni0451.commons.network.TorProxy
 
getQuery() - Method in class net.lenni0451.commons.strings.search.SearchResult
 
getQueryTokens() - Method in class net.lenni0451.commons.strings.search.SearchResult
 
getRainbowColor(int, float) - Static method in class net.lenni0451.commons.color.Color
Get a color calculated by the current time.
Calling this method subsequently will generate an RGB rainbow color effect.
The offset depends on the used divider.
getRainbowColor(int, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Get a color calculated by the current time.
Calling this method subsequently will generate an RGB rainbow color effect.
The offset depends on the used divider.
getRed() - Method in class net.lenni0451.commons.color.Color
 
getRed(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the red value of a color.
getRed(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
Get the red value of a color.
getRedF() - Method in class net.lenni0451.commons.color.Color
 
getRelativePath() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
getResource(String) - Method in class net.lenni0451.commons.classloader.ByteArrayClassLoader
 
getResourceAsStream(String) - Method in class net.lenni0451.commons.classloader.ByteArrayClassLoader
 
getResultFilter() - Method in class net.lenni0451.commons.strings.search.SearchResult
 
getResults() - Method in class net.lenni0451.commons.strings.search.SearchResult
 
getRootPath() - Method in class net.lenni0451.commons.io.FileSystemZip
 
getShort(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a short.
If the index is not in the array this will return 0.
getShort(int, short) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get the value at the index as a char or the default value if the index is not in the array.
getShort(int, short) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
getShort(int, short) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
getSlice(int) - Method in class net.lenni0451.commons.math.SliceCalculator
Get a slice of the list.
getSliceCount() - Method in class net.lenni0451.commons.math.SliceCalculator
 
getStartProgress() - Method in class net.lenni0451.commons.network.TorProxy
 
getTime() - Method in class net.lenni0451.commons.time.Timer
 
getTime() - Method in class net.lenni0451.commons.time.Timing
 
getTorPath() - Method in class net.lenni0451.commons.network.TorProxy
 
getWidth() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
getWidth() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
getWidth() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point2D
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point2F
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point2I
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point3D
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point3F
 
getX() - Method in class net.lenni0451.commons.math.shapes.point.Point3I
 
getX() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
getX() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
getX() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
getX1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getX1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getX1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getX2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getX2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getX2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getX3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getX3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getX3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point2D
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point2F
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point2I
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point3D
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point3F
 
getY() - Method in class net.lenni0451.commons.math.shapes.point.Point3I
 
getY() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
getY() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
getY() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
getY1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getY1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getY1() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getY2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getY2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getY2() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getY3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
getY3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
getY3() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
getZ() - Method in class net.lenni0451.commons.math.shapes.point.Point3D
 
getZ() - Method in class net.lenni0451.commons.math.shapes.point.Point3F
 
getZ() - Method in class net.lenni0451.commons.math.shapes.point.Point3I
 
GRAY - Static variable in class net.lenni0451.commons.color.Color
 
GREEN - Static variable in class net.lenni0451.commons.color.Color
 

H

hasDirectory(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Check if an entry exists and is a directory.
hasEntry(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Check if an entry exists.
hasFile(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Check if an entry exists and is a file.
hashCode() - Method in class net.lenni0451.commons.color.Color
 
hasNext() - Method in class net.lenni0451.commons.strings.StringReader
 
hasPassed() - Method in class net.lenni0451.commons.time.Timer
Check if the delay has passed.
The time will be reset if it has passed.
hasPassed(long) - Method in class net.lenni0451.commons.time.Timing
Check if a certain amount of time has passed.
hybridSleep(float) - Static method in class net.lenni0451.commons.threading.ThreadUtils
Sleeps the current thread for the given amount of time.
This method is super precise but more expensive than Thread.sleep(long).
hybridSleep(long, long) - Static method in class net.lenni0451.commons.threading.ThreadUtils
Sleeps the current thread for the given amount of time.
This method is super precise but more expensive than Thread.sleep(long).

I

ignoreCertificateErrors() - Static method in class net.lenni0451.commons.network.InetUtils
Ignore all certificate errors in HttpsURLConnections.
indexOf(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a boolean in an array.
indexOf(boolean[], boolean[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a boolean array in an array.
indexOf(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a byte in an array.
indexOf(byte[], byte[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a byte array in an array.
indexOf(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a short in an array.
indexOf(short[], short[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a short array in an array.
indexOf(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a char in an array.
indexOf(char[], char[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a char array in an array.
indexOf(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a int in an array.
indexOf(int[], int[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a int array in an array.
indexOf(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a long in an array.
indexOf(long[], long[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a long array in an array.
indexOf(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a float in an array.
indexOf(float[], float[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a float array in an array.
indexOf(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a double in an array.
indexOf(double[], double[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a double array in an array.
indexOf(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of an object in an array.
indexOf(O[], O[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of an object array in an array.
indexOfLast(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a boolean in an array starting from the end.
indexOfLast(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a byte in an array starting from the end.
indexOfLast(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a short in an array starting from the end.
indexOfLast(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a char in an array starting from the end.
indexOfLast(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a int in an array starting from the end.
indexOfLast(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a long in an array starting from the end.
indexOfLast(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a float in an array starting from the end.
indexOfLast(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of a double in an array starting from the end.
indexOfLast(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Get the index of an object in an array starting from the end.
InetUtils - Class in net.lenni0451.commons.network
 
InetUtils() - Constructor for class net.lenni0451.commons.network.InetUtils
 
interpolate(float, Color, Color) - Static method in class net.lenni0451.commons.color.Color
Interpolate between two colors with a progress.
The progress is a value between 0 and 1.
interpolate(float, Color[], float[]) - Static method in class net.lenni0451.commons.color.Color
Interpolate between multiple colors with a progress.
The progress is a value between 0 and 1.
The colors and steps must have the same length.
interpolate(float, Color...) - Static method in class net.lenni0451.commons.color.Color
Interpolate between multiple colors with a progress.
The progress is a value between 0 and 1.
The colors must have a length greater than 0.
interpolate(float, Color, Color) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between two colors with a progress.
The progress is a value between 0 and 1.
interpolate(float, Color[], float[]) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between multiple colors with a progress.
The progress is a value between 0 and 1.
The colors and steps must have the same length.
interpolate(float, Color...) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between multiple colors with a progress.
The progress is a value between 0 and 1.
The colors must have a length greater than 0.
intersection(RectD) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Get the intersection of this rectangle with another rectangle.
intersection(RectF) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Get the intersection of this rectangle with another rectangle.
intersection(RectI) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Get the intersection of this rectangle with another rectangle.
intersects(RectD) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Check if this rectangle intersects with another rectangle.
intersects(RectF) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Check if this rectangle intersects with another rectangle.
intersects(RectI) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Check if this rectangle intersects with another rectangle.
invalidate() - Method in class net.lenni0451.commons.lazy.Lazy
Invalidate the current value so that it will be recalculated on the next call of Lazy.get().
This method only sets the initialized flag to false and does not reset the value itself.
invert() - Method in class net.lenni0451.commons.color.Color
Invert this color.
The alpha value will not be changed.
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
 
isBoolean(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a boolean.
If the index is not in the array this will return false.
isBoolean(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isBoolean(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isByte(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a byte.
If the index is not in the array this will return false.
isByte(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isByte(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isByte(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid byte.
isChar(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a char.
If the index is not in the array this will return false.
isChar(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isChar(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isClosed() - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
 
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(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a double.
If the index is not in the array this will return false.
isDouble(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isDouble(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isDouble(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid double.
ISearchToken - Interface in net.lenni0451.commons.strings.search.tokens
 
isEmpty() - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
 
isEmptySearch() - Method in class net.lenni0451.commons.strings.search.SearchResult
 
isEquilateral() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
isEquilateral() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
isEquilateral() - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
isExpired() - Method in class net.lenni0451.commons.lazy.ExpiringLazy
 
isFile() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
isFloat(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a float.
If the index is not in the array this will return false.
isFloat(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isFloat(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isFloat(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid float.
isInitialized() - Method in class net.lenni0451.commons.lazy.Lazy
 
isInt(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is an int.
If the index is not in the array this will return false.
isInt(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isInt(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isInteger(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid integer.
isLong(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a long.
If the index is not in the array this will return false.
isLong(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isLong(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isLong(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid long.
isNotEmpty() - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
 
isPointInside(double, double) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
Check if a point is inside the triangle.
isPointInside(float, float) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
Check if a point is inside the triangle.
isPointInside(int, int) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
Check if a point is inside the triangle.
isRunning() - Method in class net.lenni0451.commons.network.TorProxy
 
isShort(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Check if the value at the index is a short.
If the index is not in the array this will return false.
isShort(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
isShort(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
isShort(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid short.
isSquare() - Method in class net.lenni0451.commons.math.shapes.rect.RectD
 
isSquare() - Method in class net.lenni0451.commons.math.shapes.rect.RectF
 
isSquare() - Method in class net.lenni0451.commons.math.shapes.rect.RectI
 
isStarted() - Method in class net.lenni0451.commons.network.TorProxy
 

J

join(String) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
Joins the array with the given separator.
join(String, int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
Joins the array with the given separator starting at the given index.
join(String, int, int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
Joins the array with the given separator starting at the given index and ending at the given index.

K

KeywordToken - Class in net.lenni0451.commons.strings.search.tokens
 
KeywordToken(String) - Constructor for class net.lenni0451.commons.strings.search.tokens.KeywordToken
 
kill() - Method in class net.lenni0451.commons.network.TorProxy
Kill the Tor process.
This does nothing if the Tor process is not running.

L

Lazy<T> - Class in net.lenni0451.commons.lazy
An object to store a value that is only initialized when required.
Useful for objects that are expensive to create and are not always needed.
Lazy() - Constructor for class net.lenni0451.commons.lazy.Lazy
 
length() - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
 
LIGHT_GRAY - Static variable in class net.lenni0451.commons.color.Color
 
listFiles(File) - Static method in class net.lenni0451.commons.io.FileUtils
List all files in a directory recursively.
If the file is not a directory an empty list will be returned.
Directories will be excluded from the list.
listFiles(File, Predicate<File>) - Static method in class net.lenni0451.commons.io.FileUtils
List all files in a directory recursively.
If the file is not a directory an empty list will be returned.
Directories will be excluded from the list.
lock - Variable in class net.lenni0451.commons.lazy.Lazy
 
log(int, int) - Static method in class net.lenni0451.commons.math.MathUtils
Calculate the logarithm of a value with a given base.
The value must be greater than 0 and the base must be greater than 1.
log(long, long) - Static method in class net.lenni0451.commons.math.MathUtils
Calculate the logarithm of a value with a given base.
The value must be greater than 0 and the base must be greater than 1.
log(float, float) - Static method in class net.lenni0451.commons.math.MathUtils
Calculate the logarithm of a value with a given base.
The value must be greater than 0 and the base must be greater than 1.
log(double, double) - Static method in class net.lenni0451.commons.math.MathUtils
Calculate the logarithm of a value with a given base.
The value must be greater than 0 and the base must be greater than 1.

M

MAGENTA - Static variable in class net.lenni0451.commons.color.Color
 
makeURL(String, byte[]) - Static method in class net.lenni0451.commons.io.ByteArrayURLStreamHandler
Make a url which has an URLConnection to the given byte array.
map(int, int, int, int, int) - Static method in class net.lenni0451.commons.math.MathUtils
Map an int from one range to another.
map(long, long, long, long, long) - Static method in class net.lenni0451.commons.math.MathUtils
Map a long from one range to another.
map(float, float, float, float, float) - Static method in class net.lenni0451.commons.math.MathUtils
Map a float from one range to another.
map(double, double, double, double, double) - Static method in class net.lenni0451.commons.math.MathUtils
Map a double from one range to another.
matches(String) - Method in class net.lenni0451.commons.strings.search.tokens.BinaryOrToken
 
matches(String) - Method in interface net.lenni0451.commons.strings.search.tokens.ISearchToken
 
matches(String) - Method in class net.lenni0451.commons.strings.search.tokens.KeywordToken
 
MathUtils - Class in net.lenni0451.commons.math
 
MathUtils() - Constructor for class net.lenni0451.commons.math.MathUtils
 
mix(Color, Color) - Static method in class net.lenni0451.commons.color.ColorUtils
Mix two colors together.
multiply(float) - Method in class net.lenni0451.commons.color.Color
Multiply this color with a factor.
The alpha value will not be changed.
multiply(Color) - Method in class net.lenni0451.commons.color.Color
Multiply this color with another color.
The values of this color will be multiplied with the float values of the other color.
multiply(Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Multiply a color with a factor.
The alpha value will not be changed.
multiply(Color, float, float, float, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Multiply a color with a factor.
multiply(double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Multiply the point with the given value.
multiply(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Multiply the point with the given values.
multiply(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Multiply the values of the given point with this point.
multiply(float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Multiply the point with the given value.
multiply(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Multiply the point with the given values.
multiply(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Multiply the values of the given point with this point.
multiply(int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Multiply the point with the given value.
multiply(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Multiply the point with the given values.
multiply(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Multiply the values of the given point with this point.
multiply(double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Multiply the point with the given value.
multiply(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Multiply the point with the given values.
multiply(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Multiply the values of the given point with this point.
multiply(float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Multiply the point with the given value.
multiply(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Multiply the point with the given values.
multiply(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Multiply the values of the given point with this point.
multiply(int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Multiply the point with the given value.
multiply(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Multiply the point with the given values.
multiply(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Multiply the values of the given point with this point.
multiplyAll(float) - Method in class net.lenni0451.commons.color.Color
Multiply this color with a factor.
multiplyAll(Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Multiply a color with a factor.
multiplyAlpha(float) - Method in class net.lenni0451.commons.color.Color
Multiply this colors alpha value with a factor.
The other values will not be changed.
multiplyAlpha(Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Multiply the alpha value of a color with a factor.
The RGB values will not be changed.

N

name(String) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the name of the threads.
A thread id will be appended to the name.
NanoTimer - Class in net.lenni0451.commons.time
A simple class to ensure that a fixed amount of time has passed.
This class uses System.nanoTime() to ensure the best possible accuracy.
See Timing to wait for a flexible amount of time.
NanoTimer(long) - Constructor for class net.lenni0451.commons.time.NanoTimer
 
NanoTiming - Class in net.lenni0451.commons.time
A simple class to ensure that a given amount of time has passed.
This class uses System.nanoTime() to ensure the best possible accuracy.
See Timer to wait for a fixed amount of time.
NanoTiming() - Constructor for class net.lenni0451.commons.time.NanoTiming
 
net.lenni0451.commons - package net.lenni0451.commons
 
net.lenni0451.commons.arrays - package net.lenni0451.commons.arrays
 
net.lenni0451.commons.arrays.wrapper - package net.lenni0451.commons.arrays.wrapper
 
net.lenni0451.commons.classloader - package net.lenni0451.commons.classloader
 
net.lenni0451.commons.color - package net.lenni0451.commons.color
 
net.lenni0451.commons.crypto - package net.lenni0451.commons.crypto
 
net.lenni0451.commons.io - package net.lenni0451.commons.io
 
net.lenni0451.commons.io.stream - package net.lenni0451.commons.io.stream
 
net.lenni0451.commons.lazy - package net.lenni0451.commons.lazy
 
net.lenni0451.commons.math - package net.lenni0451.commons.math
 
net.lenni0451.commons.math.shapes.point - package net.lenni0451.commons.math.shapes.point
 
net.lenni0451.commons.math.shapes.rect - package net.lenni0451.commons.math.shapes.rect
 
net.lenni0451.commons.math.shapes.triangle - package net.lenni0451.commons.math.shapes.triangle
 
net.lenni0451.commons.network - package net.lenni0451.commons.network
 
net.lenni0451.commons.network.trust - package net.lenni0451.commons.network.trust
 
net.lenni0451.commons.strings - package net.lenni0451.commons.strings
 
net.lenni0451.commons.strings.search - package net.lenni0451.commons.strings.search
 
net.lenni0451.commons.strings.search.tokens - package net.lenni0451.commons.strings.search.tokens
 
net.lenni0451.commons.threading - package net.lenni0451.commons.threading
 
net.lenni0451.commons.time - package net.lenni0451.commons.time
 
newThread(Runnable) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
 
next() - Method in class net.lenni0451.commons.strings.StringReader
Read the next character and increase the index by 1.
NumberChecker - Class in net.lenni0451.commons.math
 
NumberChecker() - Constructor for class net.lenni0451.commons.math.NumberChecker
 

O

ObjectArrayWrapper - Class in net.lenni0451.commons.arrays.wrapper
 
ObjectArrayWrapper(Object[]) - Constructor for class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
 
of(ExpiringLazy.ExpirationType, long, Supplier<T>) - Static method in class net.lenni0451.commons.lazy.ExpiringLazy
Create a new expiring lazy object using a Supplier to calculate the value.
of(Supplier<T>) - Static method in class net.lenni0451.commons.lazy.Lazy
Create a new lazy object.
of() - Static method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Create a new thread factory.
of(String) - Static method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Create a new thread factory with a name.
of(boolean) - Static method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Create a new thread factory with a daemon state.
of(int) - Static method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Create a new thread factory with a priority.
of(Thread.UncaughtExceptionHandler) - Static method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Create a new thread factory with an exception handler.
openConnection(URL) - Method in class net.lenni0451.commons.io.ByteArrayURLStreamHandler
 
openTrustingConnection(URL) - Static method in class net.lenni0451.commons.network.InetUtils
Open a HttpsURLConnection which does not check any certificates.
ORANGE - Static variable in class net.lenni0451.commons.color.Color
 

P

peek() - Method in class net.lenni0451.commons.strings.StringReader
Peek the next character without increasing the index.
peek(int) - Method in class net.lenni0451.commons.strings.StringReader
Peek the next characters without increasing the index.
peekRemaining() - Method in class net.lenni0451.commons.strings.StringReader
Peek the remaining characters without increasing the index.
PINK - Static variable in class net.lenni0451.commons.color.Color
 
pipe(InputStream, Function<OutputStream, OutputStream>, int) - Static method in class net.lenni0451.commons.io.stream.StreamPipe
 
Point2D - Class in net.lenni0451.commons.math.shapes.point
 
Point2D(double, double) - Constructor for class net.lenni0451.commons.math.shapes.point.Point2D
 
Point2F - Class in net.lenni0451.commons.math.shapes.point
 
Point2F(float, float) - Constructor for class net.lenni0451.commons.math.shapes.point.Point2F
 
Point2I - Class in net.lenni0451.commons.math.shapes.point
 
Point2I(int, int) - Constructor for class net.lenni0451.commons.math.shapes.point.Point2I
 
Point3D - Class in net.lenni0451.commons.math.shapes.point
 
Point3D(double, double, double) - Constructor for class net.lenni0451.commons.math.shapes.point.Point3D
 
Point3F - Class in net.lenni0451.commons.math.shapes.point
 
Point3F(float, float, float) - Constructor for class net.lenni0451.commons.math.shapes.point.Point3F
 
Point3I - Class in net.lenni0451.commons.math.shapes.point
 
Point3I(int, int, int) - Constructor for class net.lenni0451.commons.math.shapes.point.Point3I
 
prepend(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a boolean to the start of an array.
prepend(boolean[], boolean...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple booleans to the start of an array.
prepend(boolean[], boolean[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple boolean arrays to the start of an array.
prepend(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a byte to the start of an array.
prepend(byte[], byte...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple bytes to the start of an array.
prepend(byte[], byte[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple byte arrays to the start of an array.
prepend(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a short to the start of an array.
prepend(short[], short...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple shorts to the start of an array.
prepend(short[], short[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple short arrays to the start of an array.
prepend(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a char to the start of an array.
prepend(char[], char...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple chars to the start of an array.
prepend(char[], char[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple char arrays to the start of an array.
prepend(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a int to the start of an array.
prepend(int[], int...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple ints to the start of an array.
prepend(int[], int[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple int arrays to the start of an array.
prepend(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a long to the start of an array.
prepend(long[], long...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple longs to the start of an array.
prepend(long[], long[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple long arrays to the start of an array.
prepend(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a float to the start of an array.
prepend(float[], float...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple floats to the start of an array.
prepend(float[], float[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple float arrays to the start of an array.
prepend(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add a double to the start of an array.
prepend(double[], double...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple doubles to the start of an array.
prepend(double[], double[]...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple double arrays to the start of an array.
prepend(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add an object to the start of an array.
prepend(O[], O...) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Add multiple objects to the start of an array.
prepend(O[], O[]...) - Static method in class net.lenni0451.commons.arrays.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.

Q

QueryTokenizer - Class in net.lenni0451.commons.strings.search.tokens
 
QueryTokenizer() - Constructor for class net.lenni0451.commons.strings.search.tokens.QueryTokenizer
 

R

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.
The charset is: a-z, A-Z, 0-9, _
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
Deprecated.
read() - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 
read(byte[]) - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 
read(byte[], int, int) - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 
read() - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
Read a single byte from the stream.
This method will block if no data is available until new data is appended or the stream is closed.
read(byte[], int, int) - Method in class net.lenni0451.commons.io.stream.SequentialInputStream
Read bytes from the stream into the given buffer.
This method will block if no data is available until new data is appended or the stream is closed.
readAll(InputStream) - Static method in class net.lenni0451.commons.io.IOUtils
Read all bytes from a stream.
The stream will not be closed.
readQuoted() - Method in class net.lenni0451.commons.strings.StringReader
Read the next quoted string and skip all upcoming whitespace characters.
Quotes are " and '.
readResource(String) - Static method in class net.lenni0451.commons.io.IOUtils
Read a resource from the classpath as bytes.
The resource will be searched in the classpath of this class.
readResource(Class<?>, String) - Static method in class net.lenni0451.commons.io.IOUtils
Read a resource from the classpath as bytes.
The resource will be searched in the classpath of the given class.
readResource(ClassLoader, String) - Static method in class net.lenni0451.commons.io.IOUtils
Read a resource from the classpath as bytes.
The resource will be searched in the classpath of the given class loader.
readUntil(char) - Method in class net.lenni0451.commons.strings.StringReader
Read all characters until the given character is found.
The character itself will not be read.
readWord() - Method in class net.lenni0451.commons.strings.StringReader
Read the next word (characters until the next whitespace character) and skip all upcoming whitespace characters.
reconnect() - Method in class net.lenni0451.commons.network.TorProxy
Reconnect to the Tor network.
This will change the external IP address of the proxy.
RectD - Class in net.lenni0451.commons.math.shapes.rect
 
RectD(double, double) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectD
 
RectD(double, double, double, double) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectD
 
RectF - Class in net.lenni0451.commons.math.shapes.rect
 
RectF(float, float) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectF
 
RectF(float, float, float, float) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectF
 
RectI - Class in net.lenni0451.commons.math.shapes.rect
 
RectI(int, int) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectI
 
RectI(int, int, int, int) - Constructor for class net.lenni0451.commons.math.shapes.rect.RectI
 
recursiveDelete(File) - Static method in class net.lenni0451.commons.io.FileUtils
Recursively delete a file or directory.
If the file is a directory all files and directories in it will be deleted as well.
RED - Static variable in class net.lenni0451.commons.color.Color
 
remove(boolean[], boolean) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given boolean from an array.
Note: This only removes the first occurrence of the boolean.
Note: If the boolean is not found, the original array is returned.
remove(byte[], byte) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given byte from an array.
Note: This only removes the first occurrence of the byte.
Note: If the byte is not found, the original array is returned.
remove(short[], short) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given short from an array.
Note: This only removes the first occurrence of the short.
Note: If the short is not found, the original array is returned.
remove(char[], char) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given char from an array.
Note: This only removes the first occurrence of the char.
Note: If the char is not found, the original array is returned.
remove(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given int from an array.
Note: This only removes the first occurrence of the int.
Note: If the int is not found, the original array is returned.
remove(long[], long) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given long from an array.
Note: This only removes the first occurrence of the long.
Note: If the long is not found, the original array is returned.
remove(float[], float) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given float from an array.
Note: This only removes the first occurrence of the float.
Note: If the float is not found, the original array is returned.
remove(double[], double) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given double from an array.
Note: This only removes the first occurrence of the double.
Note: If the double is not found, the original array is returned.
remove(O[], O) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a given object from an array.
Note: This only removes the first occurrence of the object.
Note: If the object is not found, the original array is returned.
remove(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Remove a value from the array.
remove(T) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Remove a value from the array.
This will only remove the first occurrence of the value.
removeAt(boolean[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a boolean from an array at a specific index.
removeAt(boolean[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple booleans from an array at a specific index.
removeAt(byte[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a byte from an array at a specific index.
removeAt(byte[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple bytes from an array at a specific index.
removeAt(short[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a short from an array at a specific index.
removeAt(short[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple shorts from an array at a specific index.
removeAt(char[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a char from an array at a specific index.
removeAt(char[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple chars from an array at a specific index.
removeAt(int[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a int from an array at a specific index.
removeAt(int[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple ints from an array at a specific index.
removeAt(long[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a long from an array at a specific index.
removeAt(long[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple longs from an array at a specific index.
removeAt(float[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a float from an array at a specific index.
removeAt(float[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple floats from an array at a specific index.
removeAt(double[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove a double from an array at a specific index.
removeAt(double[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple doubles from an array at a specific index.
removeAt(O[], int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove an object from an array at a specific index.
removeAt(O[], int, int) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove multiple objects from an array at a specific index.
removeFirst(boolean[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first boolean from an array.
removeFirst(byte[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first byte from an array.
removeFirst(short[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first short from an array.
removeFirst(char[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first char from an array.
removeFirst(int[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first int from an array.
removeFirst(long[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first long from an array.
removeFirst(float[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first float from an array.
removeFirst(double[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first double from an array.
removeFirst(O[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the first object from an array.
removeLast(boolean[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last boolean from an array.
removeLast(byte[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last byte from an array.
removeLast(short[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last short from an array.
removeLast(char[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last char from an array.
removeLast(int[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last int from an array.
removeLast(long[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last long from an array.
removeLast(float[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last float from an array.
removeLast(double[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last double from an array.
removeLast(O[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Remove the last object from an array.
repeat(char, int) - Static method in class net.lenni0451.commons.strings.StringUtils
Repeat the char a given amount of times.
repeat(String, int) - Static method in class net.lenni0451.commons.strings.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.
required() - Method in class net.lenni0451.commons.strings.search.tokens.BinaryOrToken
 
required() - Method in interface net.lenni0451.commons.strings.search.tokens.ISearchToken
 
required() - Method in class net.lenni0451.commons.strings.search.tokens.KeywordToken
 
required() - Method in class net.lenni0451.commons.strings.search.tokens.RequiredToken
 
RequiredToken - Class in net.lenni0451.commons.strings.search.tokens
 
RequiredToken(String) - Constructor for class net.lenni0451.commons.strings.search.tokens.RequiredToken
 
reset() - Method in class net.lenni0451.commons.time.NanoTimer
 
reset() - Method in class net.lenni0451.commons.time.NanoTiming
 
reset() - Method in class net.lenni0451.commons.time.Timer
Reset the time.
reset() - Method in class net.lenni0451.commons.time.Timing
Reset the time.
ResultFilter - Enum in net.lenni0451.commons.strings.search
 
reverse(boolean[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(byte[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(short[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(char[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(int[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(long[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(float[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(double[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
reverse(O[]) - Static method in class net.lenni0451.commons.arrays.ArrayUtils
Reverse an array in place.
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(float[], int) - Static method in class net.lenni0451.commons.math.MathUtils
Round all floats in an array to a certain precision.
round(double, int) - Static method in class net.lenni0451.commons.math.MathUtils
Round a double to a certain precision.
round(double[], int) - Static method in class net.lenni0451.commons.math.MathUtils
Round all doubles in an array to a certain precision.
run() - Method in interface net.lenni0451.commons.Sneaky.SneakyRunnable
 

S

scale(double) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Scale the rectangle by the same factor in both directions.
scale(double, double) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Scale the rectangle by different factors in both directions.
scale(float) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Scale the rectangle by the same factor in both directions.
scale(float, float) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Scale the rectangle by different factors in both directions.
scale(int) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Scale the rectangle by the same factor in both directions.
scale(int, int) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Scale the rectangle by different factors in both directions.
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.
search(ResultFilter, String) - Method in class net.lenni0451.commons.strings.search.SearchEngine
Searches for objects in the supplier that match the given query.
The query can contain: Keywords: Words that are separated by spaces Required Words: Words that are surrounded by single or double quotes OR: The keyword OR to combine two keywords with a binary or operator
SearchEngine<T> - Class in net.lenni0451.commons.strings.search
 
SearchEngine(Supplier<? extends Iterable<T>>, Function<T, String>) - Constructor for class net.lenni0451.commons.strings.search.SearchEngine
 
SearchResult<T> - Class in net.lenni0451.commons.strings.search
Represents the result of a search by the SearchEngine.
SearchResult(String, int, ResultFilter, List<T>, boolean) - Constructor for class net.lenni0451.commons.strings.search.SearchResult
 
SequentialInputStream - Class in net.lenni0451.commons.io.stream
An InputStream that allows appending data to the stream.
The stream will block if no data is available until new data is appended or the stream is closed.
To ensure thread safety, all methods are synchronized internally.
SequentialInputStream() - Constructor for class net.lenni0451.commons.io.stream.SequentialInputStream
Create a new SequentialInputStream with default initial capacity and growth factor.
SequentialInputStream(int) - Constructor for class net.lenni0451.commons.io.stream.SequentialInputStream
Create a new SequentialInputStream with the given initial capacity and default growth factor.
SequentialInputStream(float) - Constructor for class net.lenni0451.commons.io.stream.SequentialInputStream
Create a new SequentialInputStream with the given growth factor and default initial capacity.
SequentialInputStream(int, float) - Constructor for class net.lenni0451.commons.io.stream.SequentialInputStream
Create a new SequentialInputStream with the given initial capacity and growth factor.
set(int, T) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Set the value at the index.
setAlpha(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the alpha value of a color.
setAlpha(float[], float) - 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.
This will generate a new color object unless the alpha value is already the same.
setBlue(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the blue value of a color.
setBlue(float[], float) - 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.
This will generate a new color object unless the blue value is already the same.
setData(byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
Set the data of the entry.
If bytes is null a directory will be created.
The entry can not be changed from a file to a directory or vice versa.
setGreen(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the green value of a color.
setGreen(float[], float) - 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.
This will generate a new color object unless the green value is already the same.
setIndex(int) - Method in class net.lenni0451.commons.strings.StringReader
Set the index of the reader.
setRed(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the red value of a color.
setRed(float[], float) - 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.
This will generate a new color object unless the red value is already the same.
Settings() - Constructor for class net.lenni0451.commons.crypto.AESEncryption.Settings
 
shutdown() - Method in class net.lenni0451.commons.threading.ThreadScheduler
Shutdown the scheduler.
All tasks that are currently running will be finished but no new tasks will be accepted.
shutdown(long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Shutdown the scheduler and wait for all tasks to finish.
shutdown(long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Shutdown the scheduler and wait for all tasks to finish.
skip(long) - Method in class net.lenni0451.commons.io.stream.DelegatingInputStream
 
skip() - Method in class net.lenni0451.commons.strings.StringReader
Skip the next character and increase the index by 1.
skip(int) - Method in class net.lenni0451.commons.strings.StringReader
Skip the next characters and increase the index by the given amount.
skipUntil(char) - Method in class net.lenni0451.commons.strings.StringReader
Skip all characters until the given character is found.
The character itself will not be skipped.
skipWhitespace() - Method in class net.lenni0451.commons.strings.StringReader
Skip all upcoming whitespace characters.
sleep(long) - Static method in class net.lenni0451.commons.threading.ThreadUtils
Sleeps the current thread for the given amount of time.
slice(int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get a slice of the array starting at the given index.
slice(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.ArrayWrapper
Get a slice of the array starting at the given index and ending at the given index.
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 code that throws checked exceptions without having to declare them in the method signature.
sneak(Sneaky.SneakySupplier<O>) - Static method in class net.lenni0451.commons.Sneaky
Run code that throws checked exceptions without having to declare them in the method signature and return a value.
Sneaky - Class in net.lenni0451.commons
 
Sneaky() - Constructor for class net.lenni0451.commons.Sneaky
 
Sneaky.SneakyConsumer<T> - Interface in net.lenni0451.commons
 
Sneaky.SneakyFunction<T,R> - Interface in net.lenni0451.commons
 
Sneaky.SneakyRunnable - Interface in net.lenni0451.commons
 
Sneaky.SneakySupplier<T> - Interface in net.lenni0451.commons
 
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.
A new thread will be started to listen for the start progress.
startTimerHackThread() - Static method in class net.lenni0451.commons.threading.ThreadUtils
Start a thread that will sleep forever.
This increases the precision of Thread.sleep(long).
stop() - Method in class net.lenni0451.commons.network.TorProxy
Stop the Tor process.
StreamPipe - Class in net.lenni0451.commons.io.stream
 
StreamPipe() - Constructor for class net.lenni0451.commons.io.stream.StreamPipe
 
StringArrayWrapper - Class in net.lenni0451.commons.arrays.wrapper
 
StringArrayWrapper(String[]) - Constructor for class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
 
StringReader - Class in net.lenni0451.commons.strings
 
StringReader(String) - Constructor for class net.lenni0451.commons.strings.StringReader
 
StringUtils - Class in net.lenni0451.commons.strings
 
StringUtils() - Constructor for class net.lenni0451.commons.strings.StringUtils
 
subtract(double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Subtract the given value from the point.
subtract(double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Subtract the given values from the point.
subtract(Point2D) - Method in class net.lenni0451.commons.math.shapes.point.Point2D
Subtract the values of the given point from this point.
subtract(float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Subtract the given value from the point.
subtract(float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Subtract the given values from the point.
subtract(Point2F) - Method in class net.lenni0451.commons.math.shapes.point.Point2F
Subtract the values of the given point from this point.
subtract(int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Subtract the given value from the point.
subtract(int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Subtract the given values from the point.
subtract(Point2I) - Method in class net.lenni0451.commons.math.shapes.point.Point2I
Subtract the values of the given point from this point.
subtract(double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Subtract the given value from the point.
subtract(double, double, double) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Subtract the given values from the point.
subtract(Point3D) - Method in class net.lenni0451.commons.math.shapes.point.Point3D
Subtract the values of the given point from this point.
subtract(float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Subtract the given value from the point.
subtract(float, float, float) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Subtract the given values from the point.
subtract(Point3F) - Method in class net.lenni0451.commons.math.shapes.point.Point3F
Subtract the values of the given point from this point.
subtract(int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Subtract the given value from the point.
subtract(int, int, int) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Subtract the given values from the point.
subtract(Point3I) - Method in class net.lenni0451.commons.math.shapes.point.Point3I
Subtract the values of the given point from this point.

T

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.
Internally a ScheduledExecutorService is used.
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
 
time - Variable in class net.lenni0451.commons.time.Timer
 
time - Variable in class net.lenni0451.commons.time.Timing
 
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.
See Timing to wait for a flexible amount of time.
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.
See Timer to wait for a fixed amount of time.
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.
If the format has no alpha value, the alpha value will be ignored.
to(float, float, float, float) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its int representation.
If the format has no alpha value, the alpha value will be ignored.
toABGR() - Method in class net.lenni0451.commons.color.Color
 
toABGRF() - Method in class net.lenni0451.commons.color.Color
 
toARGB() - Method in class net.lenni0451.commons.color.Color
 
toARGBF() - Method in class net.lenni0451.commons.color.Color
 
toAWT() - Method in class net.lenni0451.commons.color.Color
 
toBGR() - Method in class net.lenni0451.commons.color.Color
 
toBGRA() - Method in class net.lenni0451.commons.color.Color
 
toBGRAF() - Method in class net.lenni0451.commons.color.Color
 
toBGRF() - Method in class net.lenni0451.commons.color.Color
 
toConsumer() - Method in interface net.lenni0451.commons.Sneaky.SneakyConsumer
 
toConsumer(Sneaky.SneakyConsumer<T>) - Method in class net.lenni0451.commons.Sneaky
Turn a sneaky consumer into a regular consumer.
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.
If the format has an alpha value, it will be set to 1.
toFloats(int, int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its float representation.
If the format has no alpha value, the alpha value will be ignored.
toFloats(float, float, float, float) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its float representation.
If the format has no alpha value, the alpha value will be ignored.
toFunction() - Method in interface net.lenni0451.commons.Sneaky.SneakyFunction
 
toFunction(Sneaky.SneakyFunction<T, R>) - Method in class net.lenni0451.commons.Sneaky
Turn a sneaky function into a regular function.
toHSB() - Method in class net.lenni0451.commons.color.Color
 
toInt(String) - Static method in class net.lenni0451.commons.network.IPv4
Convert an IPv4 address to an int.
tokenize(String) - Static method in class net.lenni0451.commons.strings.search.tokens.QueryTokenizer
 
toRGB() - Method in class net.lenni0451.commons.color.Color
 
toRGBA() - Method in class net.lenni0451.commons.color.Color
 
toRGBAF() - Method in class net.lenni0451.commons.color.Color
 
toRGBF() - Method in class net.lenni0451.commons.color.Color
 
TorProxy - Class in net.lenni0451.commons.network
Start and manage a Tor proxy instance.
The proxy has to be provided by the user.
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.
toRunnable() - Method in interface net.lenni0451.commons.Sneaky.SneakyRunnable
 
toRunnable(Sneaky.SneakyRunnable) - Method in class net.lenni0451.commons.Sneaky
Turn a sneaky runnable into a regular runnable.
toString() - Method in class net.lenni0451.commons.color.Color
 
toString(int) - Static method in class net.lenni0451.commons.network.IPv4
Convert an int to an IPv4 address.
toSupplier() - Method in interface net.lenni0451.commons.Sneaky.SneakySupplier
 
toSupplier(Sneaky.SneakySupplier<T>) - Method in class net.lenni0451.commons.Sneaky
Turn a sneaky supplier into a regular supplier.
translate(double, double) - Method in class net.lenni0451.commons.math.shapes.rect.RectD
Translate the rectangle by the given values.
translate(float, float) - Method in class net.lenni0451.commons.math.shapes.rect.RectF
Translate the rectangle by the given values.
translate(int, int) - Method in class net.lenni0451.commons.math.shapes.rect.RectI
Translate the rectangle by the given values.
translate(double, double) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleD
Translate the triangle by the given values.
translate(float, float) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleF
Translate the triangle by the given values.
translate(int, int) - Method in class net.lenni0451.commons.math.shapes.triangle.TriangleI
Translate the triangle by the given values.
TRANSPARENT - Static variable in class net.lenni0451.commons.color.Color
 
TriangleD - Class in net.lenni0451.commons.math.shapes.triangle
 
TriangleD(double, double, double, double, double, double) - Constructor for class net.lenni0451.commons.math.shapes.triangle.TriangleD
 
TriangleF - Class in net.lenni0451.commons.math.shapes.triangle
 
TriangleF(float, float, float, float, float, float) - Constructor for class net.lenni0451.commons.math.shapes.triangle.TriangleF
 
TriangleI - Class in net.lenni0451.commons.math.shapes.triangle
 
TriangleI(int, int, int, int, int, int) - Constructor for class net.lenni0451.commons.math.shapes.triangle.TriangleI
 
tryAccept(T) - Method in interface net.lenni0451.commons.Sneaky.SneakyConsumer
 
tryApply(T) - Method in interface net.lenni0451.commons.Sneaky.SneakyFunction
 
tryGet() - Method in interface net.lenni0451.commons.Sneaky.SneakySupplier
 
tryRun() - Method in interface net.lenni0451.commons.Sneaky.SneakyRunnable
 

U

unsafeCast(Object) - Static method in class net.lenni0451.commons.Sneaky
Cast an object to any type without any checks.
This method should be used with caution, as it can lead to ClassCastExceptions at runtime if the object is not of the expected type.
uppercaseFirst(String) - Static method in class net.lenni0451.commons.strings.StringUtils
Uppercase the first letter of the string and lowercase the rest.

V

valueOf(String) - Static method in enum net.lenni0451.commons.lazy.ExpiringLazy.ExpirationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.lenni0451.commons.strings.search.ResultFilter
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.commons.lazy.ExpiringLazy.ExpirationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.lenni0451.commons.strings.search.ResultFilter
Returns an array containing the constants of this enum type, in the order they are declared.
verify(String, SSLSession) - Method in class net.lenni0451.commons.network.trust.AllHostnameVerifier
 

W

waitUntil() - Method in class net.lenni0451.commons.time.NanoTimer
 
waitUntil(long) - Method in class net.lenni0451.commons.time.NanoTiming
 
waitUntil() - Method in class net.lenni0451.commons.time.Timer
Wait until the delay has passed.
The time will be reset after the delay has passed.
The thread will not be paused if the delay has already passed or if Timer.forcePass() has been called.
waitUntil(long) - Method in class net.lenni0451.commons.time.Timing
Wait until a certain amount of time has passed.
WHITE - Static variable in class net.lenni0451.commons.color.Color
 
withAlpha(int) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different alpha value.
withAlphaF(float) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different alpha value.
withBlue(int) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different blue value.
withBlueF(float) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different blue value.
withGreen(int) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different green value.
withGreenF(float) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different green value.
withRed(int) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different red value.
withRedF(float) - Method in class net.lenni0451.commons.color.Color
Get a new color with a different red value.
wrappedSlice(int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
Get a wrapped slice of the array starting at the given index.
wrappedSlice(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.ObjectArrayWrapper
Get a wrapped slice of the array starting at the given index and ending at the given index.
wrappedSlice(int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
Get a wrapped slice of the array starting at the given index.
wrappedSlice(int, int) - Method in class net.lenni0451.commons.arrays.wrapper.StringArrayWrapper
Get a wrapped slice of the array starting at the given index and ending at the given index.
write(File, OutputStream) - Static method in class net.lenni0451.commons.io.FileUtils
Deprecated.

Y

YELLOW - Static variable in class net.lenni0451.commons.color.Color
 

Z

ZERO - Static variable in class net.lenni0451.commons.math.shapes.rect.RectD
 
ZERO - Static variable in class net.lenni0451.commons.math.shapes.rect.RectF
 
ZERO - Static variable in class net.lenni0451.commons.math.shapes.rect.RectI
 
A B C D E F G H I J K L M N O P Q R S T U V W Y Z 
Skip navigation links