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

A

ABGR - Static variable in class net.lenni0451.commons.color.ColorConverter
The ABGR color format (0xAA_BB_GG_RR).
addDirectory(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Add a directory to the zip file.
addEntry(String, byte[]) - Method in class net.lenni0451.commons.ByteArrayClassLoader
Add an entry to the class loader.
addEntry(String, byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip
Add an entry to the zip file.
addJar(byte[]) - Method in class net.lenni0451.commons.ByteArrayClassLoader
Add a jar to the class loader.
any(Supplier<T>, O...) - Static method in class net.lenni0451.commons.collections.Lists
Create a new list with the given objects.
any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Lists
Create a new list which is passed to the given consumer.
any(Supplier<T>, Object...) - Static method in class net.lenni0451.commons.collections.Maps
Create a new map with the given objects.
any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Maps
Create a new map which is passed to the given consumer.
any(Supplier<T>, O...) - Static method in class net.lenni0451.commons.collections.Sets
Create a new set with the given objects.
any(Supplier<T>, Consumer<T>) - Static method in class net.lenni0451.commons.collections.Sets
Create a new set which is passed to the given consumer.
ARGB - Static variable in class net.lenni0451.commons.color.ColorConverter
The ARGB color format (0xAA_RR_GG_BB).
arrayList(O...) - Static method in class net.lenni0451.commons.collections.Lists
Create a new ArrayList with the given objects.
arrayList(Consumer<ArrayList<O>>) - Static method in class net.lenni0451.commons.collections.Lists
Create a new ArrayList which is passed to the given consumer.

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).
ByteArrayClassLoader - Class in net.lenni0451.commons
A class loader with the ability to load classes from a byte array.
ByteArrayClassLoader(ClassLoader) - Constructor for class net.lenni0451.commons.ByteArrayClassLoader
 

C

ceilInt(float) - Static method in class net.lenni0451.commons.math.MathUtils
Ceil a float to an int.
ceilInt(double) - Static method in class net.lenni0451.commons.math.MathUtils
Ceil a double to an int.
ceilLong(float) - Static method in class net.lenni0451.commons.math.MathUtils
Ceil a float to a long.
ceilLong(double) - Static method in class net.lenni0451.commons.math.MathUtils
Ceil a double to a long.
clamp(int, int, int) - Static method in class net.lenni0451.commons.math.MathUtils
Clamp an int between a min and max value.
clamp(long, long, long) - Static method in class net.lenni0451.commons.math.MathUtils
Clamp a long between a min and max value.
clamp(float, float, float) - Static method in class net.lenni0451.commons.math.MathUtils
Clamp a float between a min and max value.
clamp(double, double, double) - Static method in class net.lenni0451.commons.math.MathUtils
Clamp a double between a min and max value.
close() - Method in class net.lenni0451.commons.io.FileSystemZip
 
ColorConverter - Class in net.lenni0451.commons.color
Convert colors between different formats.
ColorConverter(int, int, int) - Constructor for class net.lenni0451.commons.color.ColorConverter
Create a new color converter.
ColorConverter(int, int, int, int) - Constructor for class net.lenni0451.commons.color.ColorConverter
Create a new color converter.
ColorUtils - Class in net.lenni0451.commons.color
 
ColorUtils() - Constructor for class net.lenni0451.commons.color.ColorUtils
 
concurrentHashMap(Object...) - Static method in class net.lenni0451.commons.collections.Maps
Create a new ConcurrentHashMap with the given objects.
concurrentHashMap(Consumer<ConcurrentHashMap<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
Create a new ConcurrentHashMap which is passed to the given consumer.
convert(int, ColorConverter, ColorConverter) - Static method in class net.lenni0451.commons.color.ColorConverter
Convert a color from one format to another.
copyOnWriteArrayList(O...) - Static method in class net.lenni0451.commons.collections.Lists
Create a new CopyOnWriteArrayList with the given objects.
copyOnWriteArrayList(Consumer<CopyOnWriteArrayList<O>>) - Static method in class net.lenni0451.commons.collections.Lists
Create a new CopyOnWriteArrayList which is passed to the given consumer.
count(String, String) - Static method in class net.lenni0451.commons.StringUtils
Count the amount of occurrences of a string in another string.
create(String...) - Static method in class net.lenni0451.commons.io.FileUtils
Create a file from an array of parts.
create(File, String...) - Static method in class net.lenni0451.commons.io.FileUtils
Create a file from a parent file and an array of parts.
cut(String, int) - Static method in class net.lenni0451.commons.StringUtils
Cut the string to the given length.
cut(String, char, int) - Static method in class net.lenni0451.commons.StringUtils
Cut the string to the given length.

D

daemon(boolean) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the daemon state of the threads.
delete() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
Delete the entry.
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
 

E

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.

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.
FileSystemZip - Class in net.lenni0451.commons.io
A fast zip file using the FileSystem API.
FileSystemZip(File) - Constructor for class net.lenni0451.commons.io.FileSystemZip
Construct a new file system zip.
FileSystemZip.Entry - Class in net.lenni0451.commons.io
The entry for a file in the zip file.
FileUtils - Class in net.lenni0451.commons.io
 
FileUtils() - Constructor for class net.lenni0451.commons.io.FileUtils
 
findClass(String) - Method in class net.lenni0451.commons.ByteArrayClassLoader
 
flip(String) - Static method in class net.lenni0451.commons.StringUtils
Flip the given string.
floorInt(float) - Static method in class net.lenni0451.commons.math.MathUtils
Floor a float to an int.
floorInt(double) - Static method in class net.lenni0451.commons.math.MathUtils
Floor a double to an int.
floorLong(float) - Static method in class net.lenni0451.commons.math.MathUtils
Floor a float to a long.
floorLong(double) - Static method in class net.lenni0451.commons.math.MathUtils
Floor a double to a long.
forcePass() - Method in class net.lenni0451.commons.time.Timer
Force the timer to tick.
forcePass() - Method in class net.lenni0451.commons.time.Timing
Force the time to have passed.
forEach(Consumer<FileSystemZip.Entry>) - Method in class net.lenni0451.commons.io.FileSystemZip
Iterate over all entries in the zip file.
format(String, long) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a string.
format(String, long, boolean) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a (UTC) string.
formatBytes(long) - Static method in class net.lenni0451.commons.math.MathUtils
Convert a byte count to a human-readable string.
formatHHMMSS(long) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a string in the format "HH:mm:ss".
formatMMSS(long) - Static method in class net.lenni0451.commons.time.TimeFormatter
Format a time in milliseconds to a string in the format "mm:ss".
from(int) - Method in class net.lenni0451.commons.color.ColorConverter
Convert the int representation of a color to a color.
from(float[]) - Method in class net.lenni0451.commons.color.ColorConverter
Convert the float representation of a color to a color.

G

get() - Method in class net.lenni0451.commons.Lazy
 
get() - Method in interface net.lenni0451.commons.Sneaky.SneakySupplier
 
getAlpha(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the alpha value of a color.
getBlue(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the blue value of a color.
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.
getEntry(String) - Method in class net.lenni0451.commons.io.FileSystemZip
Get an entry from the zip file.
getFile() - Method in class net.lenni0451.commons.io.FileSystemZip
 
getGreen(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the green value of a color.
getList() - Method in class net.lenni0451.commons.math.SliceCalculator
 
getName() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
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
 
getPort() - Method in class net.lenni0451.commons.network.TorProxy
 
getRainbowColor(int, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Get a color calculated by the current time.
getRed(int) - Method in class net.lenni0451.commons.color.ColorConverter
Get the red value of a color.
getRelativePath() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
getResource(String) - Method in class net.lenni0451.commons.ByteArrayClassLoader
 
getResourceAsStream(String) - Method in class net.lenni0451.commons.ByteArrayClassLoader
 
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
 

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.
hashMap(Object...) - Static method in class net.lenni0451.commons.collections.Maps
Create a new HashMap with the given objects.
hashMap(Consumer<HashMap<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
Create a new HashMap which is passed to the given consumer.
hasPassed() - Method in class net.lenni0451.commons.time.Timer
Check if the delay has passed.
hasPassed(long) - Method in class net.lenni0451.commons.time.Timing
Check if a certain amount of time has passed.
hybridSleep(long, long) - Static method in class net.lenni0451.commons.threading.ThreadUtils
Sleeps the current thread for the given amount of time.

I

interpolate(Color, Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between two colors with a progress.
interpolate(float, Color[], float[]) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between multiple colors with a progress.
interpolate(float, Color...) - Static method in class net.lenni0451.commons.color.ColorUtils
Interpolate between multiple colors with a progress.
IOUtils - Class in net.lenni0451.commons.io
 
IOUtils() - Constructor for class net.lenni0451.commons.io.IOUtils
 
IPv4 - Class in net.lenni0451.commons.network
 
IPv4() - Constructor for class net.lenni0451.commons.network.IPv4
 
isByte(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid byte.
isDecimal(float) - Static method in class net.lenni0451.commons.math.MathUtils
Check if a float is a decimal number.
isDecimal(double) - Static method in class net.lenni0451.commons.math.MathUtils
Check if a double is a decimal number.
isDirectory() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
isDouble(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid double.
isFile() - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
 
isFloat(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid float.
isInteger(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid integer.
isLong(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid long.
isRunning() - Method in class net.lenni0451.commons.network.TorProxy
 
isShort(String) - Static method in class net.lenni0451.commons.math.NumberChecker
Check if a string is a valid short.
isStarted() - Method in class net.lenni0451.commons.network.TorProxy
 

K

kill() - Method in class net.lenni0451.commons.network.TorProxy
Kill the Tor process.

L

Lazy<T> - Class in net.lenni0451.commons
An object to store a value that is only initialized when required.
Lazy(Supplier<T>) - Constructor for class net.lenni0451.commons.Lazy
 
linkedHashMap(Object...) - Static method in class net.lenni0451.commons.collections.Maps
Create a new LinkedHashMap with the given objects.
linkedHashMap(Consumer<LinkedHashMap<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
Create a new LinkedHashMap which is passed to the given consumer.
listFiles(File) - Static method in class net.lenni0451.commons.io.FileUtils
List all files in a directory recursively.
Lists - Class in net.lenni0451.commons.collections
 
Lists() - Constructor for class net.lenni0451.commons.collections.Lists
 

M

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.
Maps - Class in net.lenni0451.commons.collections
 
Maps() - Constructor for class net.lenni0451.commons.collections.Maps
 
MathUtils - Class in net.lenni0451.commons.math
 
MathUtils() - Constructor for class net.lenni0451.commons.math.MathUtils
 
moveToBottom(List<T>, T) - Static method in class net.lenni0451.commons.collections.Lists
Move the given item to the bottom of the list.
multiply(Color, float) - Static method in class net.lenni0451.commons.color.ColorUtils
Multiply a color with a factor.

N

name(String) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the name of the threads.
net.lenni0451.commons - package net.lenni0451.commons
 
net.lenni0451.commons.collections - package net.lenni0451.commons.collections
 
net.lenni0451.commons.color - package net.lenni0451.commons.color
 
net.lenni0451.commons.io - package net.lenni0451.commons.io
 
net.lenni0451.commons.math - package net.lenni0451.commons.math
 
net.lenni0451.commons.network - package net.lenni0451.commons.network
 
net.lenni0451.commons.threading - package net.lenni0451.commons.threading
 
net.lenni0451.commons.time - package net.lenni0451.commons.time
 
newConcurrentSkipListSet(T...) - Static method in class net.lenni0451.commons.collections.Sets
Create a new ConcurrentSkipListSet with the given objects.
newConcurrentSkipListSet(Consumer<ConcurrentSkipListSet<T>>) - Static method in class net.lenni0451.commons.collections.Sets
Create a new ConcurrentSkipListSet which is passed to the given consumer.
newHashSet(T...) - Static method in class net.lenni0451.commons.collections.Sets
Create a new HashSet with the given objects.
newHashSet(Consumer<HashSet<T>>) - Static method in class net.lenni0451.commons.collections.Sets
Create a new HashSet which is passed to the given consumer.
newLinkedHashSet(T...) - Static method in class net.lenni0451.commons.collections.Sets
Create a new LinkedHashSet with the given objects.
newLinkedHashSet(Consumer<LinkedHashSet<T>>) - Static method in class net.lenni0451.commons.collections.Sets
Create a new LinkedHashSet which is passed to the given consumer.
newThread(Runnable) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
 
NumberChecker - Class in net.lenni0451.commons.math
 
NumberChecker() - Constructor for class net.lenni0451.commons.math.NumberChecker
 

O

of(Supplier<T>) - Static method in class net.lenni0451.commons.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.

P

priority(int) - Method in class net.lenni0451.commons.threading.ThreadFactoryImpl
Set the priority of the threads.

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.
randomString(int, String) - Static method in class net.lenni0451.commons.RandomUtils
Generate a random string with the given length and charset.
RandomUtils - Class in net.lenni0451.commons
 
RandomUtils() - Constructor for class net.lenni0451.commons.RandomUtils
 
read(File, InputStream) - Static method in class net.lenni0451.commons.io.FileUtils
Read all bytes from a stream and write them to a file.
readAll(InputStream) - Static method in class net.lenni0451.commons.io.IOUtils
Read all bytes from a stream.
reconnect() - Method in class net.lenni0451.commons.network.TorProxy
Reconnect to the Tor network.
repeat(char, int) - Static method in class net.lenni0451.commons.StringUtils
Repeat the char a given amount of times.
repeat(String, int) - Static method in class net.lenni0451.commons.StringUtils
Repeat the string a given amount of times.
repeat(Runnable, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Repeat a task with a fixed delay.
repeat(Runnable, long, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Repeat a task with a fixed delay.
repeat(Runnable, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Repeat a task with a fixed delay.
repeat(Runnable, long, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Repeat a task with a fixed delay.
reset() - Method in class net.lenni0451.commons.time.Timer
Reset the time.
reset() - Method in class net.lenni0451.commons.time.Timing
Reset the time.
RGB - Static variable in class net.lenni0451.commons.color.ColorConverter
The RGB color format (0xRR_GG_BB).
RGBA - Static variable in class net.lenni0451.commons.color.ColorConverter
The RGBA color format (0xRR_GG_BB_AA).
round(float, int) - Static method in class net.lenni0451.commons.math.MathUtils
Round a float to a certain precision.
round(double, int) - Static method in class net.lenni0451.commons.math.MathUtils
Round a double to a certain precision.
run() - Method in interface net.lenni0451.commons.Sneaky.SneakyRunnable
 

S

schedule(Runnable, long) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Schedule a task to be executed after a delay.
schedule(Runnable, long, TimeUnit) - Method in class net.lenni0451.commons.threading.ThreadScheduler
Schedule a task to be executed after a delay.
setAlpha(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the alpha value of a color.
setAlpha(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
Set the alpha value of a color.
setBlue(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the blue value of a color.
setBlue(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
Set the blue value of a color.
setData(byte[]) - Method in class net.lenni0451.commons.io.FileSystemZip.Entry
Set the data of the entry.
setGreen(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the green value of a color.
setGreen(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
Set the green value of a color.
setRed(int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Set the red value of a color.
setRed(Color, int) - Static method in class net.lenni0451.commons.color.ColorUtils
Set the red value of a color.
Sets - Class in net.lenni0451.commons.collections
 
Sets() - Constructor for class net.lenni0451.commons.collections.Sets
 
sleep(long) - Static method in class net.lenni0451.commons.threading.ThreadUtils
Sleeps the current thread for the given amount of time.
SliceCalculator<T> - Class in net.lenni0451.commons.math
Take a list and calculate slices of it.
SliceCalculator(List<T>, int) - Constructor for class net.lenni0451.commons.math.SliceCalculator
 
sneak(Throwable) - Static method in class net.lenni0451.commons.Sneaky
Throw a throwable without having to declare it in the method signature.
sneak(Sneaky.SneakyRunnable) - Static method in class net.lenni0451.commons.Sneaky
Run a runnable without having to declare the throwable in the method signature.
sneak(Sneaky.SneakySupplier<O>) - Static method in class net.lenni0451.commons.Sneaky
Get a value from a supplier without having to declare the throwable in the method signature.
Sneaky - Class in net.lenni0451.commons
 
Sneaky() - Constructor for class net.lenni0451.commons.Sneaky
 
Sneaky.SneakyRunnable - Interface in net.lenni0451.commons
 
Sneaky.SneakySupplier<T> - Interface in net.lenni0451.commons
 
sort(Map<K, V>, Comparator<Map.Entry<K, V>>) - Static method in class net.lenni0451.commons.collections.Maps
Sort a map using the given comparator.
sort(Set<T>, Comparator<T>) - Static method in class net.lenni0451.commons.collections.Sets
Sort a set using the given comparator.
squared(float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
Calculate the squared distance between two points (2D).
squared(double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
Calculate the squared distance between two points (2D).
squared(float, float, float, float, float, float) - Static method in class net.lenni0451.commons.math.Distance
Calculate the squared distance between two points (3D).
squared(double, double, double, double, double, double) - Static method in class net.lenni0451.commons.math.Distance
Calculate the squared distance between two points (3D).
start() - Method in class net.lenni0451.commons.network.TorProxy
Start the Tor process.
startTimerHackThread() - Static method in class net.lenni0451.commons.threading.ThreadUtils
Start a thread that will sleep forever.
stop() - Method in class net.lenni0451.commons.network.TorProxy
Stop the Tor process.
StringUtils - Class in net.lenni0451.commons
 
StringUtils() - Constructor for class net.lenni0451.commons.StringUtils
 

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.
ThreadScheduler(boolean, boolean) - Constructor for class net.lenni0451.commons.threading.ThreadScheduler
Create a new task scheduler.
ThreadUtils - Class in net.lenni0451.commons.threading
 
ThreadUtils() - Constructor for class net.lenni0451.commons.threading.ThreadUtils
 
TimeFormatter - Class in net.lenni0451.commons.time
 
TimeFormatter() - Constructor for class net.lenni0451.commons.time.TimeFormatter
 
Timer - Class in net.lenni0451.commons.time
A simple class to ensure that a fixed amount of time has passed.
Timer(long) - Constructor for class net.lenni0451.commons.time.Timer
 
timeUntil() - Method in class net.lenni0451.commons.time.Timer
 
timeUntil(long) - Method in class net.lenni0451.commons.time.Timing
Get the time until a certain amount of time has passed.
Timing - Class in net.lenni0451.commons.time
A simple class to ensure that a given amount of time has passed.
Timing() - Constructor for class net.lenni0451.commons.time.Timing
 
to(Color) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its int representation.
to(int, int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its int representation.
toFloats(Color) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its float representation.
toFloats(int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its float representation.
toFloats(int, int, int, int) - Method in class net.lenni0451.commons.color.ColorConverter
Convert a color to its float representation.
toInt(String) - Static method in class net.lenni0451.commons.network.IPv4
Convert an IPv4 address to an int.
TorProxy - Class in net.lenni0451.commons.network
Start and manage a Tor proxy instance.
TorProxy(File) - Constructor for class net.lenni0451.commons.network.TorProxy
Create a new Tor proxy instance.
TorProxy(File, int) - Constructor for class net.lenni0451.commons.network.TorProxy
Create a new Tor proxy instance.
TorProxy(File, int, int) - Constructor for class net.lenni0451.commons.network.TorProxy
Create a new Tor proxy instance.
toString(int) - Static method in class net.lenni0451.commons.network.IPv4
Convert an int to an IPv4 address.

U

uppercaseFirst(String) - Static method in class net.lenni0451.commons.StringUtils
Uppercase the first letter of the string and lowercase the rest.

W

waitUntil() - Method in class net.lenni0451.commons.time.Timer
Wait until the delay has passed.
waitUntil(long) - Method in class net.lenni0451.commons.time.Timing
Wait until a certain amount of time has passed.
write(File, OutputStream) - Static method in class net.lenni0451.commons.io.FileUtils
Read all bytes from a file and write them to a stream.
A B C D E F G H I K L M N O P R S T U W 
Skip navigation links