Skip navigation links
A B C E F G H L N O P R S T U V W 

A

accept(T, U) - Method in interface org.bytemechanics.commons.functional.LambdaUnchecker.BiConsumerWithExceptions
 
accept(T) - Method in interface org.bytemechanics.commons.functional.LambdaUnchecker.ConsumerWithExceptions
 
addAll(Collection<? extends T>) - Method in class org.bytemechanics.commons.collections.FastDropLastQueue
 
aphabet - Variable in class org.bytemechanics.commons.string.Figlet
 
apply(T) - Method in interface org.bytemechanics.commons.functional.LambdaUnchecker.FunctionWithExceptions
 
ArrayUtils - Class in org.bytemechanics.commons.lang
Array utilities
ArrayUtils() - Constructor for class org.bytemechanics.commons.lang.ArrayUtils
 
autobox(Class) - Method in class org.bytemechanics.commons.reflection.ObjectFactory
 
AutoCloseableResource - Class in org.bytemechanics.commons.lang
This class intend to convert any resource that needs to be closed but does not implement AutoCloseable to a Closeable resource in order to be able to use into a Try-With-Resource structure
AutoCloseableResource(Supplier<TYPE>, Consumer<TYPE>) - Constructor for class org.bytemechanics.commons.lang.AutoCloseableResource
Builds a Closeable resource from it's supplier and consumer.
AutoCloseableResource(Runnable, Runnable) - Constructor for class org.bytemechanics.commons.lang.AutoCloseableResource
Builds a Closeable resource with the given instance the _try Runnable will be executed during constructor and the _close one during close() method

B

blank - Variable in class org.bytemechanics.commons.string.Figlet
 

C

clear() - Method in class org.bytemechanics.commons.collections.FastDropLastQueue
 
close() - Method in class org.bytemechanics.commons.lang.AutoCloseableResource
 
concat(T[], T[]) - Static method in class org.bytemechanics.commons.lang.ArrayUtils
Concatenate two arrays of the same type
convert(Class) - Static method in enum org.bytemechanics.commons.reflection.PrimitiveTypeConverter
Try to convert primitive types to it's corresponding class type if are primitives

E

equals(Object) - Method in class org.bytemechanics.commons.functional.Tuple
 

F

FastDropLastQueue<T> - Class in org.bytemechanics.commons.collections
Concurrent queue that keeps the same size whatever adds done by droping the extra elements from the head This implementation is very fast but can overflow the initial size
FastDropLastQueue(int) - Constructor for class org.bytemechanics.commons.collections.FastDropLastQueue
Builds a new DropLastQueue from the giving _maxSize
Figlet - Class in org.bytemechanics.commons.string
Figlet java implementation Documentation: Figlet(Path, Charset) - Constructor for class org.bytemechanics.commons.string.Figlet
 
Figlet(InputStream, Charset) - Constructor for class org.bytemechanics.commons.string.Figlet
 
Figlet.NoFigletFontFormatException - Exception in org.bytemechanics.commons.string
Exception to report that provided font url is not valid
fillColumn(String) - Method in class org.bytemechanics.commons.string.Figlet
 
find(Object) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to convert the given object to string usign default format
find(Class) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to return an available parser for the given class
findConstructor() - Method in class org.bytemechanics.commons.reflection.ObjectFactory
 
format(Object) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given object to string with default format
format(Object, String) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given object to string with the given format if not null, otherwise uses default format
format(String, Object...) - Static method in class org.bytemechanics.commons.string.SimpleFormat
Formatter that replaces _message content '{}' by the giver _args per order.

G

GenericTextParser - Enum in org.bytemechanics.commons.string
Generic type text parser and formatter
get() - Method in interface org.bytemechanics.commons.functional.LambdaUnchecker.SupplierWithExceptions
 
getAttributes() - Method in class org.bytemechanics.commons.reflection.ObjectFactory
Attributes to use for instantiation
getLeft() - Method in class org.bytemechanics.commons.functional.Tuple
Getter for left value
getRight() - Method in class org.bytemechanics.commons.functional.Tuple
Getter for right value
getToInstantiate() - Method in class org.bytemechanics.commons.reflection.ObjectFactory
Returns the class to instantiate

H

hashCode() - Method in class org.bytemechanics.commons.functional.Tuple
 
height - Variable in class org.bytemechanics.commons.string.Figlet
 

L

LambdaUnchecker - Class in org.bytemechanics.commons.functional
Utility class to hide checked exceptions.
LambdaUnchecker() - Constructor for class org.bytemechanics.commons.functional.LambdaUnchecker
 
LambdaUnchecker.BiConsumerWithExceptions<T,U,E extends Exception> - Interface in org.bytemechanics.commons.functional
Functional interface for biconsumers with checked exceptions
LambdaUnchecker.ConsumerWithExceptions<T,E extends Exception> - Interface in org.bytemechanics.commons.functional
Functional interface for consumers with checked exceptions
LambdaUnchecker.FunctionWithExceptions<T,R,E extends Exception> - Interface in org.bytemechanics.commons.functional
Functional interface for functions with checked exceptions
LambdaUnchecker.RunnableWithExceptions<E extends Exception> - Interface in org.bytemechanics.commons.functional
Functional interface for runnables with checked exceptions
LambdaUnchecker.SupplierWithExceptions<T,E extends Exception> - Interface in org.bytemechanics.commons.functional
Functional interface for suppliers with checked exceptions
left() - Method in class org.bytemechanics.commons.functional.Tuple
return left value
left(C) - Method in class org.bytemechanics.commons.functional.Tuple
 
length(String, boolean) - Method in class org.bytemechanics.commons.string.Figlet
Calculate the length of the banner
length(String) - Method in class org.bytemechanics.commons.string.Figlet
Calculate the length of the banner without compression
line(String, boolean, char) - Method in class org.bytemechanics.commons.string.Figlet
Returns an string with the same length of the _phrase but filled with _filler
line(String, char) - Method in class org.bytemechanics.commons.string.Figlet
Returns an string with the same length of the _phrase but filled with _filler without compression

N

NoFigletFontFormatException() - Constructor for exception org.bytemechanics.commons.string.Figlet.NoFigletFontFormatException
 

O

objectClass - Variable in enum org.bytemechanics.commons.reflection.PrimitiveTypeConverter
 
ObjectFactory<T> - Class in org.bytemechanics.commons.reflection
Factory to create objects looking for the appropiate constructor
ObjectFactory(Class<T>) - Constructor for class org.bytemechanics.commons.reflection.ObjectFactory
 
ObjectFactory(Class<T>, Object...) - Constructor for class org.bytemechanics.commons.reflection.ObjectFactory
 
of(LEFT, RIGHT) - Static method in class org.bytemechanics.commons.functional.Tuple
 
of(Class<TYPE>) - Static method in class org.bytemechanics.commons.reflection.ObjectFactory
Static method to retrieve object factory for the given class
offer(T) - Method in class org.bytemechanics.commons.collections.FastDropLastQueue
 
org.bytemechanics.commons.collections - package org.bytemechanics.commons.collections
 
org.bytemechanics.commons.functional - package org.bytemechanics.commons.functional
 
org.bytemechanics.commons.lang - package org.bytemechanics.commons.lang
 
org.bytemechanics.commons.reflection - package org.bytemechanics.commons.reflection
 
org.bytemechanics.commons.string - package org.bytemechanics.commons.string
 

P

parse(Class<T>, String) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given string to the intended _class usign default format
parse(String) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given string to enum target usign default format
parse(Class<T>, String, String) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given string to the intended _class usign the given format if not null, otherwise uses default format
parse(String, String) - Method in enum org.bytemechanics.commons.string.GenericTextParser
Convert the given string to enum target usign the given format if not null, otherwise uses default format
poll() - Method in class org.bytemechanics.commons.collections.FastDropLastQueue
 
primitiveClass - Variable in enum org.bytemechanics.commons.reflection.PrimitiveTypeConverter
 
PrimitiveTypeConverter - Enum in org.bytemechanics.commons.reflection
This enumerated allows to convert primitive types to it's corresponding class type int - Integer, float - Float...
print(String, boolean) - Method in class org.bytemechanics.commons.string.Figlet
Returns an string that represents the _phrase using the loaded font
print(String) - Method in class org.bytemechanics.commons.string.Figlet
Returns an string that represents the _phrase using the loaded font

R

remove(Object) - Method in class org.bytemechanics.commons.collections.FastDropLastQueue
 
render(char, boolean) - Method in class org.bytemechanics.commons.string.Figlet
Renderizes any character if compressed is true removes first and last column
render(String, boolean) - Method in class org.bytemechanics.commons.string.Figlet
Renderizes the given phrase if compressed is true then each character is renderized without the first and the last column
renderCharacter(char, boolean) - Method in class org.bytemechanics.commons.string.Figlet
Renderizes a printable character if compressed is true removes first and last column
renderTab() - Method in class org.bytemechanics.commons.string.Figlet
Renderizes a tab character
right() - Method in class org.bytemechanics.commons.functional.Tuple
return right value
right(C) - Method in class org.bytemechanics.commons.functional.Tuple
 
run() - Method in interface org.bytemechanics.commons.functional.LambdaUnchecker.RunnableWithExceptions
 

S

silencedAccept(LambdaUnchecker.ConsumerWithExceptions<T, E>, T) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Accept consumer input but silencing the exception Example: uncheckedAccept(name -> System.out.println(Class.forName(name)),"java.util.List");
silencedAccept(LambdaUnchecker.BiConsumerWithExceptions<T, U, E>, T, U) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Accept consumer input but silencing the exception Example: silencedAccept((name,value) -> System.out.println(Class.forName(name)+value));
silencedApply(LambdaUnchecker.FunctionWithExceptions<T, R, E>, T) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Apply function returning the result but returning null when exception and silencing the exception and in this case returning null Example: silencedFunction(name -> Class.forName(name)) or silencedFunction(Class::forName)
silencedBiConsumer(LambdaUnchecker.BiConsumerWithExceptions<T, U, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps biconsumer lambda returning the same one but returning null when exception and silencing the exception Example: .forEach(silencedBiConsumer((name,value) -> System.out.println(Class.forName(name)+value)));
silencedConsumer(LambdaUnchecker.ConsumerWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps consumer lambda returning the same one but silencing the exception Example: .forEach(silencedConsumer(name -> System.out.println(Class.forName(name)))); or .forEach(silencedConsumer(ClassNameUtil::println));
silencedFunction(LambdaUnchecker.FunctionWithExceptions<T, R, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps function lambda returning the same one but returning null when exception and silencing the exception Example: .map(silencedFunction(name -> Class.forName(name))) or .map(silencedFunction(Class::forName))
silencedGet(LambdaUnchecker.SupplierWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Get supplier returning the supplier result or null if exception Example: silencedGet(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8")))
silencedRun(LambdaUnchecker.RunnableWithExceptions) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Run Runnable but silencing any exception Example: silencedGet(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8")))
silencedRunnable(LambdaUnchecker.RunnableWithExceptions) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps Runnable lambda returning the same one but returning null when exception and silencing the exception Example: silencedSupplier(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8"))),
silencedSupplier(LambdaUnchecker.SupplierWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps supplier lambda returning the same one but returning null when exception and silencing the exception Example: silencedSupplier(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8"))),
SimpleFormat - Class in org.bytemechanics.commons.string
Helper class for internal use only Please keep in mind that this class can be changed, renamed, deleted or extended without previous advice between fix releases, minor versions or major versions
SimpleFormat() - Constructor for class org.bytemechanics.commons.string.SimpleFormat
 
Stringify - Class in org.bytemechanics.commons.string
To string utility converter
Stringify() - Constructor for class org.bytemechanics.commons.string.Stringify
 
supplier() - Method in class org.bytemechanics.commons.reflection.ObjectFactory
Returns the supplier for the class of this factory using, if provided, the attributes Note: this supplier throws an exception if an error occurs during instantiation
supplier(String, Object...) - Static method in class org.bytemechanics.commons.string.SimpleFormat
Supplier that retrieve the message formatted that replaces _message content '{}' by the giver _args per order.

T

toFormattedString(Object) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to convert the given object to string usign default format
toFormattedString(Object, String) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to convert the given object to string usign the given format if not null, otherwise uses default format
toString() - Method in class org.bytemechanics.commons.functional.Tuple
 
toString() - Method in enum org.bytemechanics.commons.string.GenericTextParser
 
toString(Throwable) - Static method in class org.bytemechanics.commons.string.Stringify
Prints stacktrace as string (null protected).
toString(Duration, String) - Static method in class org.bytemechanics.commons.string.Stringify
Format duration as string (null protected)
toValue(Class<T>, String) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to convert the given string to the intended _class usign default format
toValue(Class<T>, String, String) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Try to convert the given string to the intended _class usign the given format if not null, otherwise uses default format
Tuple<A,B> - Class in org.bytemechanics.commons.functional
Immutable object to keep context of two values
Tuple(A, B) - Constructor for class org.bytemechanics.commons.functional.Tuple
Tuple constructor

U

uncheckedAccept(LambdaUnchecker.ConsumerWithExceptions<T, E>, T) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Accept consumer input but hacking the compiler to avoid compilation check.
uncheckedAccept(LambdaUnchecker.BiConsumerWithExceptions<T, U, E>, T, U) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Accept consumer input but hacking the compiler to avoid compilation check.
uncheckedApply(LambdaUnchecker.FunctionWithExceptions<T, R, E>, T) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Apply function returning the result but hacking the compiler to avoid compilation check.
uncheckedBiConsumer(LambdaUnchecker.BiConsumerWithExceptions<T, U, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps biconsumer lambda returning the same one but hacking the compiler to avoid compilation check.
uncheckedConsumer(LambdaUnchecker.ConsumerWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps consumer lambda returning the consumer but hacking the compiler to avoid compilation check.
uncheckedFunction(LambdaUnchecker.FunctionWithExceptions<T, R, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps function lambda returning the same one but hacking the compiler to avoid compilation check.
uncheckedGet(LambdaUnchecker.SupplierWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Get supplier returning the supplier result but hacking the compiler to avoid compilation check.
uncheckedRun(LambdaUnchecker.RunnableWithExceptions) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Run Runnable but hacking the compiler to avoid compilation check.
uncheckedRunnable(LambdaUnchecker.RunnableWithExceptions) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps Runnable lambda returning the same one but hacking the compiler to avoid compilation check.
uncheckedSupplier(LambdaUnchecker.SupplierWithExceptions<T, E>) - Static method in class org.bytemechanics.commons.functional.LambdaUnchecker
Wraps supplier lambda returning the same one but hacking the compiler to avoid compilation check.

V

valueOf(String) - Static method in enum org.bytemechanics.commons.reflection.PrimitiveTypeConverter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.bytemechanics.commons.reflection.PrimitiveTypeConverter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.bytemechanics.commons.string.GenericTextParser
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(C, D) - Method in class org.bytemechanics.commons.functional.Tuple
 
with(Object...) - Method in class org.bytemechanics.commons.reflection.ObjectFactory
Attributes to use when instance the object
A B C E F G H L N O P R S T U V W 
Skip navigation links

Copyright © 2020 Byte Mechanics. All rights reserved.