Index
A B C D E F G H I J L M N O P R S T U V W Z
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- accept(T) - Method in interface net.tangly.commons.lang.ThrowingIOExceptionConsumer
- appendBits(@org.jetbrains.annotations.NotNull byte[], byte, int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Writes length number of bits from data into the byte stream at the bit position.
- appendBits(@org.jetbrains.annotations.NotNull byte[], int, int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Writes length number of bits from data into the byte stream at the bit position.
- appendBits(@org.jetbrains.annotations.NotNull byte[], short, int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Writes length number of bits from data into the byte stream at the bit position.
- apply(F, S, T) - Method in interface net.tangly.commons.lang.TriFunction
- apply(T) - Method in interface net.tangly.commons.lang.ThrowingFunction
- AsciiDocHelper - Class in net.tangly.commons.utilities
- AsciiDocHelper(PrintWriter) - Constructor for class net.tangly.commons.utilities.AsciiDocHelper
- average(int...) - Static method in class net.tangly.commons.utilities.MathUtilities
B
- bind(Class<R>, Class<T>) - Method in interface net.tangly.commons.di.Injector
-
Defines what implementing class should be used for a given interface or abstract class.
- bind(Class<T>) - Method in interface net.tangly.commons.di.Injector
-
Defines a trivial binding to the class itself.
- bind(Class<R>, Class<T>) - Method in class net.tangly.commons.di.imp.InjectorImp
- bindProvider(Class<T>, Provider<T>) - Method in interface net.tangly.commons.di.Injector
-
Defines a
Provider
for a given type. - bindProvider(Class<T>, Provider<T>) - Method in class net.tangly.commons.di.imp.InjectorImp
- bindSingleton(Class<T>) - Method in interface net.tangly.commons.di.Injector
-
Defines that at most one instance that is used every time the given class type is requested.
- bindSingleton(Class<T>, T) - Method in interface net.tangly.commons.di.Injector
-
Defines an instance that is used every time the given class type is requested.
- bindSingleton(Class<T>) - Method in class net.tangly.commons.di.imp.InjectorImp
- bindSingleton(Class<T>, T) - Method in class net.tangly.commons.di.imp.InjectorImp
- BitUtilities - Class in net.tangly.commons.utilities
-
The bit utility class provides utility functions to manipulate bit streams as used on older communication protocols.
- bold(String) - Static method in class net.tangly.commons.utilities.AsciiDocHelper
- BYTE - Static variable in class net.tangly.commons.utilities.BitUtilities
-
Size of a byte in bits.
C
- checkArgument(boolean) - Static method in class net.tangly.commons.lang.Preconditions
- close() - Method in class net.tangly.commons.imap.ImapSession
- component() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
component
record component. - confidence(int[], double) - Static method in class net.tangly.commons.utilities.MathUtilities
- create() - Static method in interface net.tangly.commons.di.Injector
-
Creates an injector instance without modules.
- create(Consumer<Injector>...) - Static method in interface net.tangly.commons.di.Injector
-
Creates an injector instances and configure it with the module instructions.
D
- data() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
data
record component. - DWORD - Static variable in class net.tangly.commons.utilities.BitUtilities
-
Size of a double word in bits.
E
- empty() - Static method in class net.tangly.commons.lang.Reference
-
Returns a new empty reference to the given object.
- emptyToNull(String) - Static method in class net.tangly.commons.lang.Strings
- equals(Object) - Method in class net.tangly.commons.lang.Interval
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class net.tangly.commons.lang.Tuple
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class net.tangly.commons.logger.EventData
-
Indicates whether some other object is "equal to" this one.
- event() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
event
record component. - EventData - Class in net.tangly.commons.logger
-
Provide a simple approach to create an audit trail for all relevant operations performed in the system.
- EventData(String, LocalDateTime, String, EventData.Status, String, Map<String, Object>, Throwable) - Constructor for class net.tangly.commons.logger.EventData
-
Creates an instance of a
EventData
record. - EventData.Status - Enum in net.tangly.commons.logger
- exception() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
exception
record component. - ExceptionMapper<H> - Class in net.tangly.commons.lang
-
The exception mapper processes an exception and executes associated instructions with the helper.
- ExceptionMapper() - Constructor for class net.tangly.commons.lang.ExceptionMapper
- extractBitsToByte(@org.jetbrains.annotations.NotNull byte[], int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Extracts length number of bits from the byte stream at the bit position.
- extractBitsToInt(@org.jetbrains.annotations.NotNull byte[], int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Extracts length number of bits from the byte stream starting at the bit position.
- extractBitsToShort(@org.jetbrains.annotations.NotNull byte[], int, int) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Extracts length number of bits from the byte stream at the bit position.
F
- FAILURE - net.tangly.commons.logger.EventData.Status
- FileUtilities - Class in net.tangly.commons.utilities
- FileUtilities() - Constructor for class net.tangly.commons.utilities.FileUtilities
- findField(Class<T>, String) - Static method in class net.tangly.commons.lang.ReflectionUtilities
-
Finds the field with the given name.
- format(BigDecimal) - Static method in class net.tangly.commons.utilities.AsciiDocHelper
-
Formats a decimal value into an accounting representation with two digits after the separator, colored in read if negative, and discarded if the value is zero.
G
- get(T, Field) - Static method in class net.tangly.commons.lang.ReflectionUtilities
H
- hashCode() - Method in class net.tangly.commons.lang.Interval
-
Returns a hash code value for this object.
- hashCode() - Method in class net.tangly.commons.lang.Tuple
-
Returns a hash code value for this object.
- hashCode() - Method in class net.tangly.commons.logger.EventData
-
Returns a hash code value for this object.
- header(String, int) - Method in class net.tangly.commons.utilities.AsciiDocHelper
I
- image(String, String) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- ImapSession - Class in net.tangly.commons.imap
- ImapSession(String, String) - Constructor for class net.tangly.commons.imap.ImapSession
- Injector - Interface in net.tangly.commons.di
-
Defines the interface for the dependency injector.
- InjectorImp - Class in net.tangly.commons.di.imp
-
Implements the @link{Injector} interface.
- InjectorImp() - Constructor for class net.tangly.commons.di.imp.InjectorImp
- inlineAnchor(String) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- instance(Class<T>) - Method in interface net.tangly.commons.di.Injector
-
Instantiates an instance compatible with the given class.
- instance(Class<T>) - Method in class net.tangly.commons.di.imp.InjectorImp
- internalXRef(String, String) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- Interval<T extends java.lang.Number> - Class in net.tangly.commons.lang
-
Defines an interval of values of type providing a simple ordering function.
- Interval(T, T) - Constructor for class net.tangly.commons.lang.Interval
-
Creates an instance of a
Interval
record. - isNullOrBlank(String) - Static method in class net.tangly.commons.lang.Strings
- isNullOrEmpty(String) - Static method in class net.tangly.commons.lang.Strings
- isRegistered(Class<? extends Exception>) - Method in class net.tangly.commons.lang.ExceptionMapper
-
Returns true if the exception class is registered.
- isValid(Path, String) - Static method in class net.tangly.commons.utilities.JsonUtilities
-
Check if the JSON file is valid against the JSON schema describing the structure of the JSON file.
- italics(String) - Static method in class net.tangly.commons.utilities.AsciiDocHelper
J
- JsonUtilities - Class in net.tangly.commons.utilities
-
Utilities to process and validate JSON files.
- JsonUtilities() - Constructor for class net.tangly.commons.utilities.JsonUtilities
L
- left() - Method in class net.tangly.commons.lang.Tuple
-
Returns the value of the
left
record component. - log(String, String, EventData.Status, String, Map<String, Object>) - Static method in class net.tangly.commons.logger.EventData
- log(String, String, EventData.Status, String, Map<String, Object>, Throwable) - Static method in class net.tangly.commons.logger.EventData
- log(EventData) - Static method in class net.tangly.commons.logger.EventData
- lower() - Method in class net.tangly.commons.lang.Interval
-
Returns the value of the
lower
record component.
M
- MathUtilities - Class in net.tangly.commons.utilities
- mean(int...) - Static method in class net.tangly.commons.utilities.MathUtilities
- messages(String) - Method in class net.tangly.commons.imap.ImapSession
- modifyFile(Path) - Static method in class net.tangly.commons.utilities.FileUtilities
N
- net.tangly.commons.di - package net.tangly.commons.di
- net.tangly.commons.di.imp - package net.tangly.commons.di.imp
- net.tangly.commons.imap - package net.tangly.commons.imap
- net.tangly.commons.lang - package net.tangly.commons.lang
- net.tangly.commons.logger - package net.tangly.commons.logger
- net.tangly.commons.utilities - package net.tangly.commons.utilities
- NEWLINE - Static variable in class net.tangly.commons.utilities.AsciiDocHelper
- newPage() - Method in class net.tangly.commons.utilities.AsciiDocHelper
- nullToEmpty(String) - Static method in class net.tangly.commons.lang.Strings
O
- of(ThrowingFunction<T, R, E>) - Static method in interface net.tangly.commons.lang.ThrowingFunction
- of(ThrowingIOExceptionConsumer<T>) - Static method in interface net.tangly.commons.lang.ThrowingIOExceptionConsumer
- of(ThrowingPredicate<T, E>) - Static method in interface net.tangly.commons.lang.ThrowingPredicate
- of(T) - Static method in class net.tangly.commons.lang.Reference
-
Returns a new reference to the given object.
P
- paragraph(String) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- Preconditions - Class in net.tangly.commons.lang
- process(H, Exception) - Method in class net.tangly.commons.lang.ExceptionMapper
-
Processes the exception by executing the associated functor.
- process(Path, Set<String>) - Static method in class net.tangly.commons.utilities.FileUtilities
R
- reference() - Method in class net.tangly.commons.lang.Reference
-
Returns the reference object.
- reference(T) - Method in class net.tangly.commons.lang.Reference
-
Sets the referenced object.
- Reference<T> - Class in net.tangly.commons.lang
-
A reference to an object, emulating the concept of typed pointer to typed variable.
- Reference() - Constructor for class net.tangly.commons.lang.Reference
-
Constructor of the class to build an empty reference.
- Reference(T) - Constructor for class net.tangly.commons.lang.Reference
-
Constructor of the class.
- ReflectionUtilities - Class in net.tangly.commons.lang
-
Utility cass to manipulate objects through reflection.
- register(Class<? extends Exception>, BiConsumer<H, Exception>) - Method in class net.tangly.commons.lang.ExceptionMapper
-
Register the class exception with the associated consumer.
- right() - Method in class net.tangly.commons.lang.Tuple
-
Returns the value of the
right
record component.
S
- select(MimeMultipart, String) - Method in class net.tangly.commons.imap.ImapSession
- selectTextParts(MimeMultipart) - Method in class net.tangly.commons.imap.ImapSession
- selectTextPartsFrom(String) - Method in class net.tangly.commons.imap.ImapSession
- set(T, Field, Object) - Static method in class net.tangly.commons.lang.ReflectionUtilities
- set(T, String, Object) - Static method in class net.tangly.commons.lang.ReflectionUtilities
- status() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
status
record component. - Strings - Class in net.tangly.commons.lang
- SUCCESS - net.tangly.commons.logger.EventData.Status
T
- tableEnd() - Method in class net.tangly.commons.utilities.AsciiDocHelper
- tableHeader(String, String, String...) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- tableRow(String...) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- test(T) - Method in interface net.tangly.commons.lang.ThrowingPredicate
- text() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
text
record component. - text(String) - Method in class net.tangly.commons.utilities.AsciiDocHelper
- ThrowingFunction<T,R,E extends java.lang.Exception> - Interface in net.tangly.commons.lang
-
Wrapper for a function throwing a checked exception to enable use in streams.
- ThrowingIOExceptionConsumer<T> - Interface in net.tangly.commons.lang
- ThrowingPredicate<T,E extends java.lang.Exception> - Interface in net.tangly.commons.lang
-
Wrapper for a predicate throwing a checked exception to enable use in streams.
- timestamp() - Method in class net.tangly.commons.logger.EventData
-
Returns the value of the
timestamp
record component. - toHex(@org.jetbrains.annotations.NotNull byte[]) - Static method in class net.tangly.commons.utilities.BitUtilities
-
Transforms the stream of byte into a human readable sequence of hexadecimal values.
- toString() - Method in class net.tangly.commons.lang.Interval
-
Returns a string representation of this record.
- toString() - Method in class net.tangly.commons.lang.Tuple
-
Returns a string representation of this record.
- toString() - Method in class net.tangly.commons.logger.EventData
-
Returns a string representation of this record.
- TriFunction<F,S,T,R> - Interface in net.tangly.commons.lang
- Tuple<T,U> - Class in net.tangly.commons.lang
-
Defines a typed tuple as long as JDK API is not providing the abstraction.
- Tuple(T, U) - Constructor for class net.tangly.commons.lang.Tuple
-
Creates an instance of a
Tuple
record.
U
- unregister(Class<? extends Exception>) - Method in class net.tangly.commons.lang.ExceptionMapper
-
The class exception cannot be unregister to insure we are always handling any exception.
- upper() - Method in class net.tangly.commons.lang.Interval
-
Returns the value of the
upper
record component.
V
- validateSchema(Path, String) - Static method in class net.tangly.commons.utilities.JsonUtilities
-
Validate the JSON file against the JSON schema describing the structure of the JSON file.
- valueOf(String) - Static method in enum net.tangly.commons.logger.EventData.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.tangly.commons.logger.EventData.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WARNING - net.tangly.commons.logger.EventData.Status
- WORD - Static variable in class net.tangly.commons.utilities.BitUtilities
-
Size of a word in bits.
Z
- Z_VALUE_PERCENTILE_75 - Static variable in class net.tangly.commons.utilities.MathUtilities
- Z_VALUE_PERCENTILE_80 - Static variable in class net.tangly.commons.utilities.MathUtilities
- Z_VALUE_PERCENTILE_85 - Static variable in class net.tangly.commons.utilities.MathUtilities
- Z_VALUE_PERCENTILE_90 - Static variable in class net.tangly.commons.utilities.MathUtilities
- Z_VALUE_PERCENTILE_95 - Static variable in class net.tangly.commons.utilities.MathUtilities
- Z_VALUE_PERCENTILE_99 - Static variable in class net.tangly.commons.utilities.MathUtilities
All Classes|All Packages