Index

A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(T) - Method in interface net.luis.utils.function.throwable.ThrowableConsumer
Functional method that takes one argument and consumes it.
accept(T, U) - Method in interface net.luis.utils.function.throwable.ThrowableBiConsumer
Functional method that takes two arguments and consumes them.
accept(T, U, V) - Method in interface net.luis.utils.function.throwable.ThrowableTriConsumer
Functional method that takes three arguments and consumes them.
accept(T, U, V) - Method in interface net.luis.utils.function.TriConsumer
Takes three arguments and consumes them.
accept(T, U, V, W) - Method in interface net.luis.utils.function.QuadConsumer
Takes four arguments and consumes them.
accept(T, U, V, W) - Method in interface net.luis.utils.function.throwable.ThrowableQuadConsumer
Functional method that takes four arguments and consumes them.
access(FailableConsumer<Path, IOException>) - Method in class net.luis.utils.io.FileAccess
Access the file with the given action.
access(FailableFunction<Path, T, IOException>) - Method in class net.luis.utils.io.FileAccess
Access the file with the given action and return the result.
ACCESSED_FILES - Static variable in class net.luis.utils.io.FileAccess
Map of all files that are currently accessed by an instance of this class.
Weak references are used to ensure that the map does not prevent the garbage collection of the files.
action - Variable in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
The field for the action record component.
action - Variable in class net.luis.utils.util.LazyInitialization
The action to perform when the object is initialized.
action() - Method in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Returns the value of the action record component.
add(boolean) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given boolean to this json array.
The boolean will be converted to a json primitive element.
add(byte) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given byte to this json array.
The byte will be converted to a json primitive element.
add(double) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given double to this json array.
The double will be converted to a json primitive element.
add(float) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given float to this json array.
The float will be converted to a json primitive element.
add(int) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given int to this json array.
The int will be converted to a json primitive element.
add(int, E) - Method in class net.luis.utils.collection.SortedList

The list is sorted after the element is added.
add(int, T) - Method in class net.luis.utils.collection.WeightCollection
Adds the given value with the given weight to the collection.
add(long) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given long to this json array.
The long will be converted to a json primitive element.
add(short) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given short to this json array.
The short will be converted to a json primitive element.
add(String, boolean) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given boolean with the given key to this json object.
The boolean will be converted to a json primitive.
add(String, boolean) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and boolean value to this collection.
add(String, byte) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given byte with the given key to this json object.
The byte will be converted to a json primitive.
add(String, byte) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and byte value to this collection.
add(String, double) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given double with the given key to this json object.
The double will be converted to a json primitive.
add(String, double) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and double value to this collection.
add(String, float) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given float with the given key to this json object.
The float will be converted to a json primitive.
add(String, float) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and float value to this collection.
add(String, int) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given int with the given key to this json object.
The int will be converted to a json primitive.
add(String, int) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and integer value to this collection.
add(String, long) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given long with the given key to this json object.
The long will be converted to a json primitive.
add(String, long) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and long value to this collection.
add(String, short) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given short with the given key to this json object.
The short will be converted to a json primitive.
add(String, short) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and short value to this collection.
add(String, Number) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given number with the given key to this json object.
If the number is null, it will be replaced with json null.
The number value will be converted to a json primitive.
add(String, Number) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and number value to this collection.
add(String, String) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given string with the given key to this json object.
If the string is null, it will be replaced with json null.
The string value will be converted to a json primitive.
add(String, String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds a new attribute with the given name and string value to this collection.
add(String, JsonElement) - Method in class net.luis.utils.io.data.json.JsonObject
Adds the given element with the given key to this json object.
If the element is null, it will be replaced with json null.
If the key is already present, the element will be replaced.
add(Number) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given number to this json array.
The number will be converted to a json primitive element.
If the number is null, it will be replaced with a json null element.
add(String) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given string to this json array.
The string will be converted to a json primitive element.
If the string is null, it will be replaced with a json null element.
add(JsonElement) - Method in class net.luis.utils.io.data.json.JsonArray
Adds the given json element to this json array.
If the json element is null, it will be replaced with a json null element.
add(XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Adds the given attribute to this collection.
add(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlContainer
Adds the given element to this container.
add(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlElements
Adds the given element to the collection.
addAll(List<? extends JsonElement>) - Method in class net.luis.utils.io.data.json.JsonArray
Adds all json elements from the given list to this json array.
addAll(Map<String, ? extends JsonElement>) - Method in class net.luis.utils.io.data.json.JsonObject
Adds all elements from the given map to this json object.
addAll(JsonArray) - Method in class net.luis.utils.io.data.json.JsonArray
Adds all json elements from the given json array to this json array.
addAll(JsonObject) - Method in class net.luis.utils.io.data.json.JsonObject
Adds all elements from the given json object to this json object.
addAll(JsonElement...) - Method in class net.luis.utils.io.data.json.JsonArray
Adds all json elements from the given array to this json array.
addAttribute(String, boolean) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and boolean value to this element.
addAttribute(String, byte) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and byte value to this element.
addAttribute(String, double) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and double value to this element.
addAttribute(String, float) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and float value to this element.
addAttribute(String, int) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and integer value to this element.
addAttribute(String, long) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and long value to this element.
addAttribute(String, short) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and short value to this element.
addAttribute(String, Number) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and number value to this element.
addAttribute(String, String) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds a new attribute with the given name and string value to this element.
addAttribute(XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlElement
Adds the specified attribute to the element.
addContainer(XmlContainer) - Method in class net.luis.utils.io.data.xml.XmlContainer
Adds the given container to this container.
addContainer(XmlContainer) - Method in class net.luis.utils.io.data.xml.XmlElements
Adds the given container to the collection.
addDefaultLogger(LoggingType, Level) - Method in class net.luis.utils.logging.LoggerConfiguration
Adds the default logger for the given type and level.
All default loggers will be automatically enabled at startup.
addRule(TokenRule) - Method in class net.luis.utils.io.token.rule.TokenRuleEngine
Adds a validation rule to the engine.
The rule is only used to validate tokens and does not modify them.
addRule(TokenRule, TokenAction) - Method in class net.luis.utils.io.token.rule.TokenRuleEngine
Adds a transformation rule to the engine.
The rule is used to transform tokens and can modify them.
The rule is applied to the tokens and the result is used to replace the matched tokens.
addToken(List<Token>, String, TokenPosition, TokenPosition) - Method in class net.luis.utils.io.token.TokenReader
Adds a token to the list of tokens.
It uses the token definitions to determine the type of token and creates a new token object.
If no matching definition is found, a word token is created.
addValue(XmlValue) - Method in class net.luis.utils.io.data.xml.XmlContainer
Adds the given value to this container.
addValue(XmlValue) - Method in class net.luis.utils.io.data.xml.XmlElements
Adds the given value to the collection.
advancedParsing - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the advancedParsing record component.
advancedParsing() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the advancedParsing record component.
aliases - Variable in class net.luis.utils.io.codec.NamedCodec
The aliases of the value.
alignment - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the alignment record component.
alignment() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the alignment record component.
allowAttributes - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the allowAttributes record component.
allowAttributes() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the allowAttributes record component.
allowedChars - Variable in class net.luis.utils.io.token.TokenReader
The set of allowed characters that can be part of tokens.
allowedTypes - Variable in class net.luis.utils.logging.LoggerConfiguration
The allowed logging types.
AlreadyInitializedException - Exception Class in net.luis.utils.exception
Thrown when an initialization is attempted on an object that has already been initialized.
AlreadyInitializedException() - Constructor for exception class net.luis.utils.exception.AlreadyInitializedException
Constructs a new already initialized exception with no details.
AlreadyInitializedException(String) - Constructor for exception class net.luis.utils.exception.AlreadyInitializedException
Constructs a new already initialized exception with the specified message.
AlreadyInitializedException(String, Throwable) - Constructor for exception class net.luis.utils.exception.AlreadyInitializedException
Constructs a new already initialized exception with the specified message and cause.
AlreadyInitializedException(Throwable) - Constructor for exception class net.luis.utils.exception.AlreadyInitializedException
Constructs a new already initialized exception with the specified cause.
alwaysMatch() - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Provides a token rule that always matches.
AlwaysMatchTokenRule - Class in net.luis.utils.io.token.rule.rules
A token rule that always matches a single token if the start index is valid.
This rule is useful for testing or as a default case in a chain of token rules.
This class is implemented as a singleton and can be accessed via TokenRules.alwaysMatch() or AlwaysMatchTokenRule.INSTANCE.
AlwaysMatchTokenRule() - Constructor for class net.luis.utils.io.token.rule.rules.AlwaysMatchTokenRule
Private constructor to prevent instantiation.
andThen(Function<? super R, ? extends S>) - Method in interface net.luis.utils.function.QuadFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(Function<? super R, ? extends S>) - Method in interface net.luis.utils.function.TriFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(QuadConsumer<? super T, ? super U, ? super V, ? super W>) - Method in interface net.luis.utils.function.QuadConsumer
Returns a composed consumer of same type that performs,
in sequence, this operation followed by the after operation.
andThen(TriConsumer<? super T, ? super U, ? super V>) - Method in interface net.luis.utils.function.TriConsumer
Returns a composed consumer of same type that performs, in sequence,
this operation followed by the after operation.
andThen(ThrowableBiConsumer<? super T, ? super U, X>) - Method in interface net.luis.utils.function.throwable.ThrowableBiConsumer
Returns a composed consumer of same type that performs,
in sequence, this operation followed by the after operation.
andThen(ThrowableConsumer<? super T, X>) - Method in interface net.luis.utils.function.throwable.ThrowableConsumer
Returns a composed consumer of same type that performs,
in sequence, this operation followed by the after operation.
andThen(ThrowableFunction<? super R, ? extends S, X>) - Method in interface net.luis.utils.function.throwable.ThrowableBiFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(ThrowableFunction<? super R, ? extends S, X>) - Method in interface net.luis.utils.function.throwable.ThrowableFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(ThrowableFunction<? super R, ? extends S, X>) - Method in interface net.luis.utils.function.throwable.ThrowableQuadFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(ThrowableFunction<? super R, ? extends S, X>) - Method in interface net.luis.utils.function.throwable.ThrowableTriFunction
Returns a composed function that first applies this function to its input,
and then applies the after function to the result.
andThen(ThrowableQuadConsumer<? super T, ? super U, ? super V, ? super W, X>) - Method in interface net.luis.utils.function.throwable.ThrowableQuadConsumer
Returns a composed consumer of same type that performs,
in sequence, this operation followed by the after operation.
andThen(ThrowableTriConsumer<? super T, ? super U, ? super V, X>) - Method in interface net.luis.utils.function.throwable.ThrowableTriConsumer
Returns a composed consumer of same type that performs,
in sequence, this operation followed by the after operation.
ANGLE_BRACKETS - Static variable in record class net.luis.utils.io.reader.StringScope
Constant string scope for angle brackets.
any(Set<TokenRule>) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches any of the given token rules.
any(TokenRule...) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches any of the given token rules.
AnyOfTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches any of the provided token rules.
The first matching rule will be used to create the TokenRuleMatch.
This rule is useful for creating complex matching logic by combining multiple rules.
AnyOfTokenRule(Set<TokenRule>) - Constructor for record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
Constructs a new any of token rule with the given token rules.
AppendingVersion(char, int) - Constructor for record class net.luis.utils.util.Version.AppendingVersion
Creates an instance of a AppendingVersion record class.
apply(T) - Method in interface net.luis.utils.io.codec.ResultingFunction
 
apply(TokenRuleMatch) - Method in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
 
apply(TokenRuleMatch) - Method in interface net.luis.utils.io.token.rule.actions.TokenAction
Applies this token action to the given token rule match.
The action can modify, transform or remove the tokens of the match.
apply(TokenRuleMatch) - Method in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
 
apply(TokenRuleMatch) - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
 
apply(Result<T>) - Method in interface net.luis.utils.io.codec.ResultMappingFunction
 
apply(T) - Method in interface net.luis.utils.function.throwable.ThrowableFunction
Applies the argument to the function and returns the result.
apply(T, U) - Method in interface net.luis.utils.function.throwable.ThrowableBiFunction
Applies the arguments to the function and returns the result.
apply(T, U, V) - Method in interface net.luis.utils.function.throwable.ThrowableTriFunction
Applies the arguments to the function and returns the result.
apply(T, U, V) - Method in interface net.luis.utils.function.TriFunction
Applies the arguments to the function and returns a value.
apply(T, U, V, W) - Method in interface net.luis.utils.function.QuadFunction
Applies the arguments to the function and returns a value.
apply(T, U, V, W) - Method in interface net.luis.utils.function.throwable.ThrowableQuadFunction
Applies the arguments to the function and returns the result.
ARCHIVE_TYPE - Static variable in class net.luis.utils.logging.LoggerConfiguration
Regex to check if the archive type is valid.
archiveAutoDeletionAge - Variable in class net.luis.utils.logging.LoggerConfiguration
The age in days after which archived log files should be deleted.
archiveAutoDeletionDepth - Variable in class net.luis.utils.logging.LoggerConfiguration
The maximum depth in which archived log files should be deleted.
archiveType - Variable in class net.luis.utils.logging.LoggerConfiguration
The archive type for the log files.
asBuilder() - Method in class net.luis.utils.util.Version
Returns the version as a builder for modifications.
asFile() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
asFile() - Method in class net.luis.utils.resources.InternalResourceLocation
 
asFile() - Method in class net.luis.utils.resources.ResourceLocation
Constructs a new File from the resource.
Resources on the classpath can not be converted into a file.
asPath() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
asPath() - Method in class net.luis.utils.resources.InternalResourceLocation
 
asPath() - Method in class net.luis.utils.resources.ResourceLocation
Constructs a new Path from the resource.
Resources on the classpath cannot be converted into a path.
atLeast(C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that only accepts numbers greater or equal to the given number.
atMost(C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that only accepts numbers smaller or equal to the given number.
attributes - Variable in class net.luis.utils.io.data.xml.XmlAttributes
The map of attributes.
attributes - Variable in class net.luis.utils.io.data.xml.XmlElement
The attributes of the xml element.
attributes() - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns an unmodifiable collection of all attributes in this collection.
AutoInitialize - Annotation Interface in net.luis.utils.annotation
Types that are annotated with this annotation are considered to be automatically initialized.
average(double...) - Static method in class net.luis.utils.math.Mth
Returns the average of the given double values.
If the given array is null or empty, Double.NaN will be returned.
average(int...) - Static method in class net.luis.utils.math.Mth
Returns the average of the given integer values.
If the given array is null or empty, Double.NaN will be returned.
average(long...) - Static method in class net.luis.utils.math.Mth
Returns the average of the given long values.
If the given array is null or empty, Double.NaN will be returned.

B

baseDifference(String, String) - Static method in class net.luis.utils.lang.StringUtils
Does the base difference calculation for the given strings.
betweenTokenRule - Variable in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
The field for the betweenTokenRule record component.
betweenTokenRule() - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Returns the value of the betweenTokenRule record component.
BIG_DECIMAL - Enum constant in enum class net.luis.utils.math.NumberType
Represents a BigDecimal number type.
BIG_INTEGER - Enum constant in enum class net.luis.utils.math.NumberType
Represents a BigInteger number type.
BINARY - Enum constant in enum class net.luis.utils.math.Radix
Represents the binary radix (base 2) with the prefix 0b.
bitSize - Variable in enum class net.luis.utils.math.NumberType
The bit size of the number type.
-1 if the number type is infinite (big integer or big decimal).
BOOLEAN - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes boolean values.
BOOLEAN - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of boolean xml element type.
boundary(TokenRule, TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches a boundary between the given start and end token rules.
boundary(TokenRule, TokenRule, TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches a boundary between the given start, between, and end token rules.
BoundaryTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches a sequence of tokens with a start, between, and end token rule.
This rule is useful for matching patterns that have a specific structure, such as a start and end delimiter with optional content in between.
The start and end token rules are required, while the between token rule can match zero or infinite tokens.
The start and between token rule must not be or contain an EndTokenRule or any other token rule class that is added to BoundaryTokenRule.INVALID_RULES.
BoundaryTokenRule(TokenRule, TokenRule) - Constructor for record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Constructs a new boundary token rule with the given start, and end token rule.
The between token rule is set to TokenRules.alwaysMatch() by default.
BoundaryTokenRule(TokenRule, TokenRule, TokenRule) - Constructor for record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Constructs a new boundary token rule with the given start, between, and end token rule.
build - Variable in class net.luis.utils.util.Version.Builder
The appendable build version number.
build() - Method in class net.luis.utils.logging.LoggerConfiguration
Builds the configuration.
build() - Method in class net.luis.utils.util.Version.Builder
Builds the version with the given version numbers.
builder(int, int) - Static method in class net.luis.utils.util.Version
Creates a new version builder with the given version numbers.
The version numbers will be clamped to a minimum of 0.
builder(int, int, int) - Static method in class net.luis.utils.util.Version
Creates a new version builder with the given version numbers.
The version numbers will be clamped to a minimum of 0.
Builder(int, int) - Constructor for class net.luis.utils.util.Version.Builder
Constructs a new version builder with the given version numbers.
The version numbers will be clamped to a minimum of 0.
Builder(int, int, int) - Constructor for class net.luis.utils.util.Version.Builder
Constructs a new version builder with the given version numbers.
The version numbers will be clamped to a minimum of 0.
buildVersion - Variable in class net.luis.utils.util.Version
The appendable build version number.
BYTE - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Byte number type.
BYTE - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes byte values.
BYTE - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of byte xml element type.
BYTE_ARRAY - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes byte arrays.
The underlying byte array is converted to and from a list of bytes.

C

canAccess() - Method in class net.luis.utils.io.FileAccess
Checks if the file can be accessed.
canConvertTo(String, Radix) - Method in enum class net.luis.utils.math.NumberType
Checks if the number type can be converted to the given target type.
The following rules apply:
If the value is null, empty or blank, it cannot be converted If the radix is not supported by the number type, it cannot be converted If the value has a suffix, it must match the number type suffix The parser must not throw an exception
canConvertTo(NumberType) - Method in enum class net.luis.utils.math.NumberType
Checks if the number type can be converted to the given target type.
The following rules apply:
canRead() - Method in class net.luis.utils.io.reader.StringReader
Checks whether there are more characters to read.
canRead(int) - Method in class net.luis.utils.io.reader.StringReader
Checks whether there is at least the given number of characters to read.
canRead(int, Predicate<Character>) - Method in class net.luis.utils.io.reader.StringReader
Checks whether the number of characters to read matches the given predicate.
caught(ThrowableBiConsumer<T, U, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableBiConsumer
Converts a throwable bi-consumer into a bi-consumer that throws a runtime exception when an exception is thrown.
caught(ThrowableBiFunction<T, U, R, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableBiFunction
Converts a throwable bi-function into a bi-function that throws a runtime exception when an exception is thrown.
caught(ThrowableConsumer<T, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableConsumer
Converts a throwable consumer into a consumer that throws a runtime exception when an exception is thrown.
caught(ThrowableFunction<T, R, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableFunction
Converts a throwable function into a function that throws a runtime exception when an exception is thrown.
caught(ThrowableQuadConsumer<T, U, V, W, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableQuadConsumer
Converts a throwable quad-consumer into a quad-consumer that throws a runtime exception when an exception is thrown.
caught(ThrowableQuadFunction<T, U, V, W, R, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableQuadFunction
Converts a throwable quad-function into a quad-function that throws a runtime exception when an exception is thrown.
caught(ThrowableSupplier<T, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableSupplier
Converts a throwable supplier into a supplier that throws a runtime exception when an exception is thrown.
caught(ThrowableTriConsumer<T, U, V, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableTriConsumer
Converts a throwable tri-consumer into a tri-consumer that throws a runtime exception when an exception is thrown.
caught(ThrowableTriFunction<T, U, V, R, ? extends Throwable>) - Static method in interface net.luis.utils.function.throwable.ThrowableTriFunction
Converts a throwable tri-function into a tri-function that throws a runtime exception when an exception is thrown.
chance - Variable in class net.luis.utils.util.Chance
The chance value of something happens.
Chance - Class in net.luis.utils.util
Represents a chance of something happening.
The chance is a double between 0.0 and 1.0, where 0.0 is 0% and 1.0 is 100%.
Chance(double) - Constructor for class net.luis.utils.util.Chance
Constructs a new chance with the given chance.
The chance will be clamped between 0.0 and 1.0.
CHANCE_PATTERN - Static variable in class net.luis.utils.util.Chance
The pattern used to parse a chance.
character - Variable in record class net.luis.utils.io.token.TokenPosition
The field for the character record component.
character() - Method in record class net.luis.utils.io.token.TokenPosition
Returns the value of the character record component.
characterInLine - Variable in record class net.luis.utils.io.token.TokenPosition
The field for the characterInLine record component.
characterInLine() - Method in record class net.luis.utils.io.token.TokenPosition
Returns the value of the characterInLine record component.
charInLine - Variable in class net.luis.utils.io.token.TokenReader.PositionTracker
The index of the current character in the line.
charset - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the charset record component.
charset - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the charset record component.
charset - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the charset record component.
charset() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the charset record component.
charset() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the charset record component.
charset() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the charset record component.
CHARSET - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes charsets.
The underlying charset is converted to and from a string.
CharTokenDefinition - Record Class in net.luis.utils.io.token.definition
Token definition for a single character.
This token definition matches a string that is equal to the token character.
CharTokenDefinition(char) - Constructor for record class net.luis.utils.io.token.definition.CharTokenDefinition
Creates an instance of a CharTokenDefinition record class.
checkLevel(LoggingType, Level) - Static method in class net.luis.utils.logging.LoggingUtils
Checks whether the given level is valid for the given logging type.
Invalid combinations are:
The levels 'all' or 'off' with any logging type Logging type 'file' and level 'trace', 'warn' or 'fatal'
clamp(double, double, double) - Static method in class net.luis.utils.math.Mth
Clamps the given double value between the given min and max value.
clamp(int, int, int) - Static method in class net.luis.utils.math.Mth
Clamps the given integer value between the given min and max value.
clamp(long, long, long) - Static method in class net.luis.utils.math.Mth
Clamps the given long value between the given min and max value.
ClassPathHelper - Class in net.luis.utils.util.unsafe.classpath
Internal helper class to get all classes from the classpath.
ClassPathHelper() - Constructor for class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Private constructor to prevent instantiation.
This is a static helper class.
ClassPathUtils - Class in net.luis.utils.util.unsafe.classpath
Utility class for classpath related operations.
ClassPathUtils() - Constructor for class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Private constructor to prevent instantiation.
This is a static helper class.
ClassPathUtils.Mode - Enum Class in net.luis.utils.util.unsafe.classpath
The mode which determines if the classes should be included or excluded.
clear() - Method in class net.luis.utils.collection.WeightCollection
Removes all values from the collection.
clear() - Method in class net.luis.utils.io.data.json.JsonArray
Removes all elements from this json array.
clear() - Method in class net.luis.utils.io.data.json.JsonObject
Removes all element pairs from this json object.
clear() - Method in class net.luis.utils.io.data.xml.XmlAttributes
Removes all attributes from this collection.
clear() - Method in class net.luis.utils.io.data.xml.XmlContainer
Removes all elements from this container.
clear() - Method in class net.luis.utils.io.data.xml.XmlElements
Removes all elements from the collection.
close - Variable in record class net.luis.utils.io.reader.StringScope
The field for the close record component.
close() - Method in class net.luis.utils.io.data.InputProvider
 
close() - Method in class net.luis.utils.io.data.json.JsonReader
 
close() - Method in class net.luis.utils.io.data.json.JsonWriter
 
close() - Method in class net.luis.utils.io.data.OutputProvider
 
close() - Method in class net.luis.utils.io.data.property.PropertyReader
 
close() - Method in class net.luis.utils.io.data.property.PropertyWriter
 
close() - Method in class net.luis.utils.io.data.xml.XmlReader
 
close() - Method in class net.luis.utils.io.data.xml.XmlWriter
 
close() - Method in class net.luis.utils.io.FileAccess
Closes the file access.
The call to this method is optional, because the file access will be closed automatically when the instance is garbage collected.
close() - Method in record class net.luis.utils.io.reader.StringScope
Returns the value of the close record component.
closed - Variable in class net.luis.utils.io.FileAccess
Flag to check if the file access is closed.
codec - Variable in class net.luis.utils.io.codec.ConfiguredCodec
The codec used to encode and decode the component.
codec - Variable in class net.luis.utils.io.codec.NamedCodec
The codec used to encode and decode the named value.
codec - Variable in class net.luis.utils.io.codec.struct.ListCodec
The codec used to encode and decode the elements of the list.
codec - Variable in class net.luis.utils.io.codec.struct.OptionalCodec
The codec used to encode and decode the optional value.
codec(String) - Method in interface net.luis.utils.io.codec.Codec
Wraps the current codec into a new codec with the given codec name.
Codec<C> - Interface in net.luis.utils.io.codec
A codec is a combination of an encoder and a decoder.
It is used to encode and decode values of a specific type.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec1 record component.
codec1 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec1 record component.
codec1() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec1 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec10 record component.
codec10 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec10 record component.
codec10() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec10 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec11 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec11 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec11 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec11 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec11 record component.
codec11 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec11 record component.
codec11() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec11 record component.
codec12 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec12 record component.
codec12 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec12 record component.
codec12 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec12 record component.
codec12 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec12 record component.
codec12 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec12 record component.
codec12() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec12 record component.
codec12() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec12 record component.
codec12() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec12 record component.
codec12() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec12 record component.
codec12() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec12 record component.
codec13 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec13 record component.
codec13 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec13 record component.
codec13 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec13 record component.
codec13 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec13 record component.
codec13() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec13 record component.
codec13() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec13 record component.
codec13() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec13 record component.
codec13() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec13 record component.
codec14 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec14 record component.
codec14 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec14 record component.
codec14 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec14 record component.
codec14() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec14 record component.
codec14() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec14 record component.
codec14() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec14 record component.
codec15 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec15 record component.
codec15 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec15 record component.
codec15() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec15 record component.
codec15() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec15 record component.
codec16 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec16 record component.
codec16() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec16 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec2 record component.
codec2 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec2 record component.
codec2() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec2 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec3 record component.
codec3 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec3 record component.
codec3() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec3 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec4 record component.
codec4 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec4 record component.
codec4() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec4 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec5 record component.
codec5 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec5 record component.
codec5() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec5 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec6 record component.
codec6 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec6 record component.
codec6() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec6 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec7 record component.
codec7 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec7 record component.
codec7() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec7 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
The field for the codec8 record component.
codec8 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns the value of the codec8 record component.
codec8() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec8 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
The field for the codec9 record component.
codec9 - Variable in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
The field for the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns the value of the codec9 record component.
codec9() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns the value of the codec9 record component.
CodecBuilder - Class in net.luis.utils.io.codec
A utility class that provides methods to create codec groupers that group multiple codecs into a single codec.
CodecBuilder() - Constructor for class net.luis.utils.io.codec.CodecBuilder
Private constructor to prevent instantiation.
This is a static helper class.
CodecGrouper1<CI1,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of one codec.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper1(ConfiguredCodec<CI1, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Constructs a new codec grouper with the provided codec.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper10<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of ten codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper10(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper11<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of eleven codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper11(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper12<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of twelve codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper12(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper13<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of thirteen codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper13(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper14<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of fourteen codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper14(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper15<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,CI15,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of fifteen codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper15(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>, ConfiguredCodec<CI15, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper16<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,CI15,CI16,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of sixteen codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper16(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>, ConfiguredCodec<CI15, O>, ConfiguredCodec<CI16, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper2<CI1,CI2,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of two codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper2(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper3<CI1,CI2,CI3,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of three codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper3(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper4<CI1,CI2,CI3,CI4,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of four codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper4(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper5<CI1,CI2,CI3,CI4,CI5,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of five codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper5(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper6<CI1,CI2,CI3,CI4,CI5,CI6,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of six codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper6(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper7<CI1,CI2,CI3,CI4,CI5,CI6,CI7,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of seven codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper7(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper8<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of eight codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper8(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGrouper9<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,O> - Record Class in net.luis.utils.io.codec.group.grouper
Represents a group of nine codecs.
The grouper is used for creating a new single codec that encodes and decodes a value of a specific type.
Each codec is responsible for encoding and decoding a specific component (field) of the value.
The grouped codec is created by providing a function that creates the value from the decoded components.
CodecGrouper9(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>) - Constructor for record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Constructs a new codec grouper with the provided codecs.
Do not use this constructor directly, use the builder method in CodecBuilder instead.
CodecGroupingFunction1<CI1,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts one argument and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction10<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts ten arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction11<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts eleven arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction12<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts twelve arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction13<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts thirteen arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction14<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts fourteen arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction15<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,CI15,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts fifteen arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction16<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,CI10,CI11,CI12,CI13,CI14,CI15,CI16,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts sixteen arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction2<CI1,CI2,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts two arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction3<CI1,CI2,CI3,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts three arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction4<CI1,CI2,CI3,CI4,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts four arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction5<CI1,CI2,CI3,CI4,CI5,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts five arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction6<CI1,CI2,CI3,CI4,CI5,CI6,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts six arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction7<CI1,CI2,CI3,CI4,CI5,CI6,CI7,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts seven arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction8<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts eight arguments and produces a result.
Manly used for decoding objects using a Codec.
CodecGroupingFunction9<CI1,CI2,CI3,CI4,CI5,CI6,CI7,CI8,CI9,R> - Interface in net.luis.utils.io.codec.group.function
Represents a codec grouping function that accepts nine arguments and produces a result.
Manly used for decoding objects using a Codec.
combine(TokenDefinition...) - Static method in interface net.luis.utils.io.token.definition.TokenDefinition
Combines multiple token definitions into a single token definition.
The resulting token definition contains the concatenated string of all token definitions.
If only one token definition is provided, it is returned as is.
COMMENT_PATTERN - Static variable in class net.luis.utils.io.data.xml.XmlReader
The pattern to match comments in xml content.
commentCharacters - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the commentCharacters record component.
commentCharacters() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the commentCharacters record component.
COMPACTED_KEY_PATTERN - Static variable in class net.luis.utils.io.data.property.PropertyReader
The pattern to check if a key is a compacted key.
Compacted keys - Search tag in class net.luis.utils.io.data.property.PropertyReader
Section
comparator - Variable in class net.luis.utils.collection.SortedList
The comparator used to sort the list.
compareTo(Priority) - Method in record class net.luis.utils.util.Priority
 
compareTo(Version) - Method in class net.luis.utils.util.Version
Compares this version with the given version.
The comparison is based on the following order:
Major version number Minor version number Patch or fix version number Build version number
compareTo(Version.AppendingVersion) - Method in record class net.luis.utils.util.Version.AppendingVersion
Compares this appendable version number with the given appendable version number.
The comparison is based on the version number, the separator is not considered.
compareTo(T) - Method in interface net.luis.utils.lang.EnumLike
 
compressionLevel - Variable in class net.luis.utils.logging.LoggerConfiguration
The compression level for the archived log files.
config - Variable in class net.luis.utils.io.data.json.JsonReader
The json config used by this reader.
config - Variable in class net.luis.utils.io.data.json.JsonWriter
The json config used by the writer.
config - Variable in class net.luis.utils.io.data.property.PropertyReader
The configuration for this reader.
config - Variable in class net.luis.utils.io.data.property.PropertyWriter
The configuration for the property writer.
config - Variable in class net.luis.utils.io.data.xml.XmlReader
The xml config of this reader.
config - Variable in class net.luis.utils.io.data.xml.XmlWriter
The xml config used by the writer.
configuration - Static variable in class net.luis.utils.logging.LoggingUtils
The current configuration or null if the logging system has not been initialized.
configure() - Static method in class net.luis.utils.logging.LoggingHelper
Configures the current logging configuration according to the system properties.
Only console logging is configured, due file logging must be configured at startup.
System properties: logging.console.{level}
Enables/disables console logging for the given level, expect 'true' or 'false'
{level} must be replaced with a valid Level name in lower case

Default: Enabled levels: info, warn, error, fatal Disabled levels: trace, debug Examples: logging.console.debug=true
Enables console logging for the debug level logging.console.info=false
Disables console logging for the info level
configure(String, Function<O, C>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new configured codec.
This method combines the Codec.named(String, String...) and Codec.getter(Function) methods.
CONFIGURED_LOGGERS - Static variable in class net.luis.utils.logging.LoggingUtils
A list of all loggers which are configured.
ConfiguredCodec<C,O> - Class in net.luis.utils.io.codec
A codec that is configured to encode and decode a specific component of an object.
This codec uses another codec to encode and decode the component.
The underlying codec is expected to be an instance of NamedCodec.
ConfiguredCodec(Codec<C>, Function<O, C>) - Constructor for class net.luis.utils.io.codec.ConfiguredCodec
Constructs a new configured codec using the given codec and getter for the component.
CONSOLE - Enum constant in enum class net.luis.utils.logging.LoggingType
The logging will be printed to the console.
CONSOLE_LEVELS - Static variable in enum class net.luis.utils.logging.LoggingType
Supported console logging levels.
contains(JsonElement) - Method in class net.luis.utils.io.data.json.JsonArray
Checks if this json array contains the given json element.
contains(T) - Method in class net.luis.utils.collection.WeightCollection
Checks if the collection contains the given value.
containsElement(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if this container contains the given element.
containsElement(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlElements
Checks if this collection contains the given element considering the type.
containsKey(String) - Method in class net.luis.utils.io.data.json.JsonObject
Checks if this json object contains the given key.
containsName(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Checks if this collection contains an attribute with the given name.
containsName(String) - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if this container contains an element with the given name.
containsName(String) - Method in class net.luis.utils.io.data.xml.XmlElements
Checks if this collection contains an element with the given name.
containsNotEscaped(String, char) - Static method in class net.luis.utils.lang.StringUtils
Checks if the string contains the given target character.
The target character will be ignored if it is escaped with a backslash.
If the string is empty or null, false will be returned.
containsValue(JsonElement) - Method in class net.luis.utils.io.data.json.JsonObject
Checks if this json object contains the given element.
containsValue(XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Checks if this collection contains the given attribute.
converter - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The converter used to convert between numbers and the range type.
The converter is used to avoid casting numbers to generics.
convertToClass(String) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Converts the given file name to a class name.
copy() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
copy() - Method in class net.luis.utils.resources.InternalResourceLocation
 
copy() - Method in class net.luis.utils.resources.ResourceLocation
Copies the resource to the temporary directory.
The copied resource will be deleted on program exit.
copy(Path) - Method in class net.luis.utils.resources.ExternalResourceLocation
 
copy(Path) - Method in class net.luis.utils.resources.InternalResourceLocation
 
copy(Path) - Method in class net.luis.utils.resources.ResourceLocation
Copies the resource to the given target path.
The copied resource will stay on the filesystem and will not be deleted on program exit.
If a temporary copy of the resource is needed use ResourceLocation.copy() instead.
copyFrom(TokenReader.PositionTracker) - Method in class net.luis.utils.io.token.TokenReader.PositionTracker
Copies the position from another position tracker.
It sets the line number, character position, and character index to the values of the other position tracker.
copyPropertyAndRemoveGroup(Property, String) - Static method in class net.luis.utils.io.data.property.Properties
Copies a property and removes the specified subgroup from the key.
If the subgroup is null or empty, the property is copied without any changes.
copyWithName(String, XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Copies the given xml element with the given name.
The name is used as the new name for the copied element.
The copy operation is based on the type of the given element.
countDifference(String, String) - Static method in class net.luis.utils.lang.StringUtils
Counts the difference between the given strings.
countDifferenceAligned(String, String) - Static method in class net.luis.utils.lang.StringUtils
Counts the difference between the given strings, aligned.
The difference will be counted in both directions, and the lowest difference will be returned.
countDifferenceBackwards(String, String) - Static method in class net.luis.utils.lang.StringUtils
Counts the difference between the given strings, backwards.
countDifferenceBackwardsStripped(String, String) - Static method in class net.luis.utils.lang.StringUtils
Counts the difference between the given strings, backwards, after stripping them.
countDifferenceStripped(String, String) - Static method in class net.luis.utils.lang.StringUtils
Counts the difference between the given strings, after stripping them.
create(CI1) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction1
Constructs a new object using the given input.
create(CI1, CI2) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction2
Constructs a new object using the given inputs.
create(CI1, CI2, CI3) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction3
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction4
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction5
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction6
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction7
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction8
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction9
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction10
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction11
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction12
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction13
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction14
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction15
Constructs a new object using the given inputs.
create(CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16) - Method in interface net.luis.utils.io.codec.group.function.CodecGroupingFunction16
Constructs a new object using the given inputs.
create(Path) - Static method in class net.luis.utils.io.FileUtils
Creates the given file and all parent directories.
create(CodecGroupingFunction1<CI1, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction10<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction11<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction12<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction13<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction14<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction15<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction16<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, CI10, CI11, CI12, CI13, CI14, CI15, CI16, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction2<CI1, CI2, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction3<CI1, CI2, CI3, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction4<CI1, CI2, CI3, CI4, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction5<CI1, CI2, CI3, CI4, CI5, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction6<CI1, CI2, CI3, CI4, CI5, CI6, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction7<CI1, CI2, CI3, CI4, CI5, CI6, CI7, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction8<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
create(CodecGroupingFunction9<CI1, CI2, CI3, CI4, CI5, CI6, CI7, CI8, CI9, O>) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Creates a new codec using the codecs of this grouper and the provided grouping function.
The grouping function is used to create the resulting object from the decoded components.
createAbove(Priority) - Static method in record class net.luis.utils.util.Priority
Creates a new priority above the given priority.
createBelow(Priority) - Static method in record class net.luis.utils.util.Priority
Creates a new priority below the given priority.
createBetween(Priority, Priority) - Static method in record class net.luis.utils.util.Priority
Creates a new priority between the two given priorities.
createBigDecimalParser() - Static method in enum class net.luis.utils.math.NumberType
Creates a new big decimal parser function.
This parser function will handle the special cases of big decimals.
createBoolean(boolean) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createBoolean(boolean) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a boolean value of the type this provider is for using the given value.
createBoolean(boolean) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createByte(byte) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createByte(byte) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a byte value of the type this provider is for using the given value.
createByte(byte) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createDouble(double) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createDouble(double) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a double value of the type this provider is for using the given value.
createDouble(double) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createFloat(float) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createFloat(float) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a float value of the type this provider is for using the given value.
createFloat(float) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createIfNotExists(Path) - Static method in class net.luis.utils.io.FileUtils
Creates the given file and all parent directories if they do not exist.
createInteger(int) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createInteger(int) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates an integer value of the type this provider is for using the given value.
createInteger(int) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createIterator(Level[]) - Method in enum class net.luis.utils.logging.LoggingType
Creates an iterator for the given levels.
createList(E...) - Static method in class net.luis.utils.collection.SortedList
Creates a new list from the given elements.
The elements are wrapped in an internal ArrayList.
createList(List<? extends JsonElement>) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createList(List<? extends XmlElement>) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createList(List<? extends T>) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a list value of the type this provider is for using the given values.
createLong(long) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createLong(long) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a long value of the type this provider is for using the given value.
createLong(long) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createMap() - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createMap() - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates an empty map value of the type this provider is for.
createMap() - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createMap(Map<String, ? extends JsonElement>) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createMap(Map<String, ? extends XmlElement>) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createMap(Map<String, ? extends T>) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a map value of the type this provider is for using the given values.
createRefrenceMarker(int) - Static method in class net.luis.utils.logging.LoggingUtils
Creates a new reference marker with the given length.
createSessionDirectory(String) - Static method in class net.luis.utils.io.FileUtils
Creates a temporary directory for the current session.
The directory and all its content will be deleted when the JVM shuts down.
createShort(short) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createShort(short) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a short value of the type this provider is for using the given value.
createShort(short) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createString(String) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
createString(String) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates a string value of the type this provider is for using the given value.
createString(String) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
createUnpositioned(TokenDefinition, String) - Static method in record class net.luis.utils.io.token.tokens.EscapedToken
Creates an unpositioned escaped token for the given token definition and value.
createUnpositioned(TokenDefinition, String) - Static method in record class net.luis.utils.io.token.tokens.SimpleToken
Creates an unpositioned simple token for the given token definition and value.
CURLY_BRACKETS - Static variable in record class net.luis.utils.io.reader.StringScope
Constant string scope for curly brackets.
CUSTOM - Enum constant in enum class net.luis.utils.annotation.type.Singleton.Method
The instance of the singleton class can be obtained by custom method.

D

DECIMAL - Enum constant in enum class net.luis.utils.math.Radix
Represents the decimal radix (base 10) with no prefix.
DECLARATION_ATTRIBUTES - Static variable in class net.luis.utils.io.data.xml.XmlReader
The possible attributes of a xml declaration.
decode(TypeProvider<R>, R) - Method in interface net.luis.utils.io.codec.decoder.Decoder
Decodes the value of the specified type and returns the decoded value directly.
decodeEntry(TypeProvider<R>, Map.Entry<String, R>) - Method in class net.luis.utils.io.codec.struct.MapCodec
Decodes the given map entry using the key and value codecs.
The result contains the decoded entry or an error message.
decodeKey(TypeProvider<R>, String) - Method in interface net.luis.utils.io.codec.decoder.KeyableDecoder
Decodes a key to a value of the specified type and returns the result.
The result contains the decoded key or an error message.
decodeKey(TypeProvider<R>, String) - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
decodeNumber(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.RangeCodec
Decodes the given value using the given type provider.
The result contains the decoded value or an error message if the decoding failed.
Decoder<C> - Interface in net.luis.utils.io.codec.decoder
Represents a decoder for a specific type.
The implementation decodes a value of the type specified by the type provider
and returns a result containing the decoded value or an error message.
DecoderException - Exception Class in net.luis.utils.io.codec.decoder
Thrown when an error occurs during decoding an object.
DecoderException() - Constructor for exception class net.luis.utils.io.codec.decoder.DecoderException
Constructs a new decoder exception with no details.
DecoderException(String) - Constructor for exception class net.luis.utils.io.codec.decoder.DecoderException
Constructs a new decoder exception with the specified message.
DecoderException(String, Throwable) - Constructor for exception class net.luis.utils.io.codec.decoder.DecoderException
Constructs a new decoder exception with the specified message and cause.
DecoderException(Throwable) - Constructor for exception class net.luis.utils.io.codec.decoder.DecoderException
Constructs a new decoder exception with the specified cause.
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.ConfiguredCodec
Decodes the component of the object using the given type provider and value.
This method will simply pass through the value to the underlying codec.
decodeStart(TypeProvider<R>, R) - Method in interface net.luis.utils.io.codec.decoder.Decoder
Decodes the value of the specified type and returns the result.
The result contains the decoded value or an error message.
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.NamedCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.EitherCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.ListCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.MapCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
decodeStart(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.struct.UnitCodec
 
decodeStartWithAlias(TypeProvider<R>, R, String) - Method in class net.luis.utils.io.codec.NamedCodec
Decodes the value using the given provider and map.
This method will try to decode the value by the first alias which is present in the map.
If no alias is present, an error will be returned.
The result will contain the decoded value or an error message.
DEFAULT - Static variable in record class net.luis.utils.io.data.json.JsonConfig
The default json configuration.
Strict: true
Pretty print: true
Indent: "\t"
Simplify arrays: true
Max array simplification size: 10
Simplify objects: true
Max object simplification size: 1
Charset: UTF-8
DEFAULT - Static variable in record class net.luis.utils.io.data.property.PropertyConfig
The default property configuration.
Separator: '='
Alignment: 1
Comment characters: '#'
Key pattern: "^[a-zA-Z0-9._-]+$"
Value pattern: ".*"
Advanced parsing: false
Charset: UTF-8
DEFAULT - Static variable in record class net.luis.utils.io.data.xml.XmlConfig
The default xml configuration.
Strict: true
Pretty print: true
Indent: "\t"
Allow attributes: true
Simplify values: true
Charset: UTF-8
DEFAULT - Static variable in class net.luis.utils.logging.LoggerConfiguration
The default logger configuration.
DEFAULT_PATTERNS - Static variable in class net.luis.utils.logging.LoggerConfiguration
The default patterns for the log levels.
defaultConfiguration() - Method in class net.luis.utils.logging.factory.SpringFactory
Creates a new configuration with no additional changes.
defaultLoggers - Variable in class net.luis.utils.logging.LoggerConfiguration
The default loggers for the logging types and levels.
defaultProvider - Variable in class net.luis.utils.io.codec.struct.OptionalCodec
The supplier used to provide the default value if the optional value is empty.
Can be null if no default value is provided.
DefaultValueGetter - Interface in net.luis.utils.util.getter
A functional interface that provides methods to get a value of a specific type.
This is an extension of the ValueGetter interface.
definition - Variable in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
The field for the definition record component.
definition - Variable in record class net.luis.utils.io.token.tokens.EscapedToken
The field for the definition record component.
definition - Variable in record class net.luis.utils.io.token.tokens.SimpleToken
The field for the definition record component.
definition - Variable in record class net.luis.utils.io.token.tokens.TokenGroup
The field for the definition record component.
definition() - Method in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
Returns the value of the definition record component.
definition() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns the value of the definition record component.
definition() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns the value of the definition record component.
definition() - Method in interface net.luis.utils.io.token.tokens.Token
Returns the token definition that this token matches.
definition() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns the value of the definition record component.
definitions - Variable in class net.luis.utils.io.token.TokenReader
The set of token definitions used to identify tokens in the input string.
deleteComments(String) - Static method in class net.luis.utils.io.data.xml.XmlReader
Deletes all xml comments from the given string.
deleteRecursively(Path) - Static method in class net.luis.utils.io.FileUtils
Deletes the given file or directory recursively.
direct(Function<T, R>) - Static method in interface net.luis.utils.io.codec.ResultingFunction
Creates a new resulting function that applies the given function to the value.
The output result is a success result with the output of the function as value.
direct(Function<T, R>) - Static method in interface net.luis.utils.io.codec.ResultMappingFunction
Creates a new result mapping function that applies the given function to the result.
If the result is an error, the error is propagated to the output result and the function is not applied.
disable(LoggingType, Level) - Static method in class net.luis.utils.logging.LoggingUtils
Disables logging for the given logging type and level.
disableAppender(String) - Static method in class net.luis.utils.logging.LoggingUtils
Disables the given appender.
disableConsole() - Static method in class net.luis.utils.logging.LoggingUtils
Disables console logging for all levels.
disableConsole(Level) - Static method in class net.luis.utils.logging.LoggingUtils
Disables console logging for the given level.
disableFile() - Static method in class net.luis.utils.logging.LoggingUtils
Disables file logging for all levels.
disableFile(Level) - Static method in class net.luis.utils.logging.LoggingUtils
Disables file logging for the given level.
disableLogging(LoggingType) - Method in class net.luis.utils.logging.LoggerConfiguration
Disables the given logging type.
divisor - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The current divisor of the EEA.
DOUBLE - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Double number type.
DOUBLE - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes double values.
DOUBLE - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of double xml element type.
DOUBLE_QUOTE_PATTERN - Static variable in class net.luis.utils.lang.StringUtils
Regular expression pattern used to remove double-quoted string parts.
The regular expression allows escaped double quotes inside the string.
DOUBLE_STREAM - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes double streams.
The underlying double stream is converted to and from a Stream of doubles.
dynamicEnum(Class<E>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for an enum class.
The enum is encoded using the name of the enum value.
The decoder supports both the name and the ordinal value of the enum.

E

either(Codec<F>, Codec<S>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new either codec for the given codecs.
The value which is encoded and decoded by this codec can be either of type F or S.
The codec will try to use the first codec to encode and decode the value,
if that fails, it will try to use the second codec.
Either<L,R> - Class in net.luis.utils.util
Represents one of two possible values.
An instance of Either is either an instance of Either.Left or Either.Right.
Either() - Constructor for class net.luis.utils.util.Either
Private because this class is sealed and not instantiable from outside.
Either.Left<L,R> - Class in net.luis.utils.util
Left implementation of the either.
Either.Right<L,R> - Class in net.luis.utils.util
Right implementation of the either.
EitherCodec<F,S> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding values of type Either.
This codec uses two other codecs to encode and decode the values of the first and second type.
EitherCodec(Codec<F>, Codec<S>) - Constructor for class net.luis.utils.io.codec.struct.EitherCodec
Constructs a new either codec using the given codecs for the first and second type.
Do not use this constructor directly, use any of the either factory methods in Codec instead.
ELEMENT - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of list element xml element type.
elements - Variable in class net.luis.utils.io.data.json.JsonArray
The internal linked list of json elements.
The elements are stored in the order they were added.
elements - Variable in class net.luis.utils.io.data.json.JsonObject
The internal map of elements.
The order of the elements is preserved.
elements - Variable in class net.luis.utils.io.data.xml.XmlContainer
The elements of this container.
elements - Variable in class net.luis.utils.io.data.xml.XmlElements
The elements of the collection.
elements() - Method in class net.luis.utils.io.data.json.JsonArray
Returns an unmodifiable collection of the json elements in this json array.
elements() - Method in class net.luis.utils.io.data.json.JsonObject
Returns the collection of values in this json object.
elements() - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns an unmodifiable collection of the elements in this container.
elements() - Method in class net.luis.utils.io.data.xml.XmlElements
Returns an unmodifiable collection of all elements in the collection considering the type.
empty() - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
empty() - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Creates an empty value of the type this provider is for.
empty() - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
empty(int) - Static method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Creates an empty token rule match with the given index.
An empty token rule match has a start and end index of the given index, an empty list of matched tokens, and a matching token rule that always matches.
This is useful for terminating the token rule matching process without consuming any tokens.
EMPTY - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constant for the name of the empty xml element type.
EMPTY - Static variable in class net.luis.utils.util.Range
A constant for an empty range.
The minimum and maximum value are both 0.
EMPTY - Static variable in record class net.luis.utils.util.Version.AppendingVersion
An empty appendable version number.
The separator is '\0' and the version is -1.
This is the default value for an empty version number.
EMPTY_UUID - Static variable in class net.luis.utils.util.Utils
Empty UUID constant.
enable(LoggingType, Level) - Static method in class net.luis.utils.logging.LoggingUtils
Enables logging for the given logging type and level.
enableAppender(String) - Static method in class net.luis.utils.logging.LoggingUtils
Enables the given appender.
enableConsole() - Static method in class net.luis.utils.logging.LoggingUtils
Enables console logging for all levels.
enableConsole(Level) - Static method in class net.luis.utils.logging.LoggingUtils
Enables console logging for the given level.
enableFile() - Static method in class net.luis.utils.logging.LoggingUtils
Enables file logging for all levels.
enableFile(Level) - Static method in class net.luis.utils.logging.LoggingUtils
Enables file logging for the given level.
enableLogging(LoggingType) - Method in class net.luis.utils.logging.LoggerConfiguration
Enables the given logging type.
encode(TypeProvider<R>, C) - Method in interface net.luis.utils.io.codec.encoder.Encoder
Encodes the value of the specified type and returns the encoded value directly.
encode(TypeProvider<R>, R, C) - Method in interface net.luis.utils.io.codec.encoder.Encoder
Encodes the value of the specified type and returns the encoded value directly.
encodeEntry(TypeProvider<R>, Map.Entry<K, V>) - Method in class net.luis.utils.io.codec.struct.MapCodec
Encodes the given map entry using the key and value codecs.
The result contains the encoded entry or an error message.
encodeKey(TypeProvider<R>, C) - Method in interface net.luis.utils.io.codec.encoder.KeyableEncoder
Encodes the key of the specified type and returns the encoded key as a result.
The result contains the encoded key or an error message.
encodeKey(TypeProvider<R>, C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
encodeNumber(TypeProvider<R>, C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
Encodes the given number value using the given type provider.
The result contains the encoded value or an error message if the encoding failed.
Encoder<C> - Interface in net.luis.utils.io.codec.encoder
Represents an encoder for a specific type.
The implementation encodes a value of the type specified by the type provider
and returns a result containing the encoded value or an error message.
EncoderException - Exception Class in net.luis.utils.io.codec.encoder
Thrown when an error occurs during encoding an object.
EncoderException() - Constructor for exception class net.luis.utils.io.codec.encoder.EncoderException
Constructs a new encoder exception with no details.
EncoderException(String) - Constructor for exception class net.luis.utils.io.codec.encoder.EncoderException
Constructs a new encoder exception with the specified message.
EncoderException(String, Throwable) - Constructor for exception class net.luis.utils.io.codec.encoder.EncoderException
Constructs a new encoder exception with the specified message and cause.
EncoderException(Throwable) - Constructor for exception class net.luis.utils.io.codec.encoder.EncoderException
Constructs a new encoder exception with the specified cause.
encodeStart(TypeProvider<R>, R, C) - Method in interface net.luis.utils.io.codec.encoder.Encoder
Encodes the value of the specified type and returns the result.
The result contains the encoded value or an error message.
encodeStart(TypeProvider<R>, R, C) - Method in class net.luis.utils.io.codec.NamedCodec
 
encodeStart(TypeProvider<R>, R, C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
encodeStart(TypeProvider<R>, R, List<C>) - Method in class net.luis.utils.io.codec.struct.ListCodec
 
encodeStart(TypeProvider<R>, R, Map<K, V>) - Method in class net.luis.utils.io.codec.struct.MapCodec
 
encodeStart(TypeProvider<R>, R, Optional<C>) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
encodeStart(TypeProvider<R>, R, Either<F, S>) - Method in class net.luis.utils.io.codec.struct.EitherCodec
 
encodeStart(TypeProvider<R>, R, O) - Method in class net.luis.utils.io.codec.ConfiguredCodec
Encodes the component of the object using the given type provider and current value.
encodeStart(TypeProvider<R>, R, C) - Method in class net.luis.utils.io.codec.struct.UnitCodec
 
encoding - Variable in record class net.luis.utils.io.data.xml.XmlDeclaration
The field for the encoding record component.
encoding() - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Returns the value of the encoding record component.
end() - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Provides a token rule that matches the end of the input.
endIndex - Variable in record class net.luis.utils.io.token.rule.TokenRuleMatch
The field for the endIndex record component.
endIndex() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns the value of the endIndex record component.
endPosition - Variable in record class net.luis.utils.io.token.tokens.EscapedToken
The field for the endPosition record component.
endPosition - Variable in record class net.luis.utils.io.token.tokens.SimpleToken
The field for the endPosition record component.
endPosition() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns the value of the endPosition record component.
endPosition() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns the value of the endPosition record component.
endPosition() - Method in interface net.luis.utils.io.token.tokens.Token
Returns the end position of the token.
The end position is the last character of the token.
endPosition() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns the end position of the token group.
The end position is the end position of the last token in the group.
endsWithSpecialChar(String) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Checks if the given regex ends with a special character.
The following characters are considered special characters: ?, *, +,
endTokenRule - Variable in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
The field for the endTokenRule record component.
endTokenRule() - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Returns the value of the endTokenRule record component.
EndTokenRule - Class in net.luis.utils.io.token.rule.rules
A token rule that always matches the end of the token list.
This rule is useful to ensure that the end of the token list is reached.
The rule will only match if the start index is larger than or equal to the size of the token list.
This class is implemented as a singleton and can be accessed via TokenRules.end() or EndTokenRule.INSTANCE.
EndTokenRule() - Constructor for class net.luis.utils.io.token.rule.rules.EndTokenRule
Private constructor to prevent instantiation.
ensureKeyMatches(String) - Method in record class net.luis.utils.io.data.property.PropertyConfig
Checks whether the given key matches the key pattern.
ensureOpen() - Method in class net.luis.utils.io.FileAccess
Ensures that the file access is open.
ensureValueMatches(String) - Method in record class net.luis.utils.io.data.property.PropertyConfig
Checks whether the given value matches the value pattern.
entrySet() - Method in class net.luis.utils.io.data.json.JsonObject
Returns the set of entries in this json object.
EnumConstant<T> - Record Class in net.luis.utils.lang
A record that represents an enum constant.
EnumConstant(String, int, T) - Constructor for record class net.luis.utils.lang.EnumConstant
Constructs a new enum constant with the given name, ordinal and value.
EnumLike<T> - Interface in net.luis.utils.lang
An interface that provides utility methods for enum-like classes.
enumName(Class<E>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for the given enum class.
The enum value is encoded and decoded using its name.
enumOrdinal(Class<E>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for the given enum class.
The enum value is encoded and decoded using its ordinal value.
equals(Object) - Method in record class net.luis.utils.collection.util.SimpleCell
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.collection.util.SimpleEntry
 
equals(Object) - Method in class net.luis.utils.collection.WeightCollection
 
equals(Object) - Method in class net.luis.utils.io.codec.ConfiguredCodec
 
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.codec.NamedCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.EitherCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.ListCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.MapCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
equals(Object) - Method in class net.luis.utils.io.codec.struct.UnitCodec
 
equals(Object) - Method in class net.luis.utils.io.data.json.JsonArray
 
equals(Object) - Method in record class net.luis.utils.io.data.json.JsonConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.data.json.JsonObject
 
equals(Object) - Method in class net.luis.utils.io.data.json.JsonPrimitive
 
equals(Object) - Method in class net.luis.utils.io.data.property.Properties
 
equals(Object) - Method in class net.luis.utils.io.data.property.Property
 
equals(Object) - Method in record class net.luis.utils.io.data.property.PropertyConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlAttribute
 
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlAttributes
 
equals(Object) - Method in record class net.luis.utils.io.data.xml.XmlConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlContainer
 
equals(Object) - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlElement
 
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlElements
 
equals(Object) - Method in class net.luis.utils.io.data.xml.XmlValue
 
equals(Object) - Method in class net.luis.utils.io.FileAccess
 
equals(Object) - Method in class net.luis.utils.io.reader.StringReader
 
equals(Object) - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.reader.StringScope
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.definition.CharTokenDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.io.token.definition.WordTokenDefinition
 
equals(Object) - Method in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.TokenPosition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.luis.utils.lang.EnumConstant
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
 
equals(Object) - Method in class net.luis.utils.resources.ResourceLocation
 
equals(Object) - Method in class net.luis.utils.util.Chance
 
equals(Object) - Method in class net.luis.utils.util.Either.Left
 
equals(Object) - Method in class net.luis.utils.util.Either.Right
 
equals(Object) - Method in class net.luis.utils.util.LazyInitialization
 
equals(Object) - Method in class net.luis.utils.util.LazyLoad
 
equals(Object) - Method in class net.luis.utils.util.Pair
 
equals(Object) - Method in record class net.luis.utils.util.Priority
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.util.Range
 
equals(Object) - Method in class net.luis.utils.util.Result
 
equals(Object) - Method in record class net.luis.utils.util.Version.AppendingVersion
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.luis.utils.util.Version.Builder
 
equals(Object) - Method in class net.luis.utils.util.Version
 
equalsIgnoreCase - Variable in record class net.luis.utils.io.token.definition.StringTokenDefinition
The field for the equalsIgnoreCase record component.
equalsIgnoreCase() - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
Returns the value of the equalsIgnoreCase record component.
error() - Method in class net.luis.utils.util.Result
Returns the error message of the result as an Optional.
error(String) - Static method in class net.luis.utils.util.Result
Creates a new failed result with the specified error message.
ErrorAction - Enum Class in net.luis.utils.util
Represents an action to be taken when an error or exception occurs.
Each action defined in this enum has a different method to handle the error.
ErrorAction() - Constructor for enum class net.luis.utils.util.ErrorAction
 
errorOrThrow() - Method in class net.luis.utils.util.Result
Gets the error message of the operation or throws an exception.
EscapedToken - Record Class in net.luis.utils.io.token.tokens
Special token implementation for escaped tokens.
An escaped token is a token that starts with a backslash and has a length of 2.
EscapedToken(TokenDefinition, String, TokenPosition, TokenPosition) - Constructor for record class net.luis.utils.io.token.tokens.EscapedToken
Constructs a new escaped token for a string value.
EscapedTokenDefinition - Record Class in net.luis.utils.io.token.definition
Token definition for escaped characters.
This token definition matches a string that starts with a backslash (\) and is followed by the token character.
Example:
EscapedTokenDefinition(char) - Constructor for record class net.luis.utils.io.token.definition.EscapedTokenDefinition
Creates an instance of a EscapedTokenDefinition record class.
escapeName(String) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Escapes the given name if it is numeric.
The name is escaped by adding an underscore in front of it.
This is required because xml element names must not start with a number.
escapeXml(String) - Static method in class net.luis.utils.io.data.xml.XmlHelper
Escapes the given value for xml.
The following characters are replaced:
& -> &amp; " -> &quot; ' -> &apos; < -> &lt; > -> &gt;
EXCLUDE - Enum constant in enum class net.luis.utils.util.unsafe.classpath.ClassPathUtils.Mode
The object will be excluded if the underlying predicate returns true.
execute() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Executes the EEA for a single step.
execute(int) - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Executes the EEA for the given number of steps.
If the EEA is already completed the method will return immediately.
executeIfNotNull(T, Consumer<T>) - Static method in class net.luis.utils.util.Utils
Executes the given action if the given value is not null.
executeStep() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Executes a single step of the EEA.
The values of the EEA are recalculated.
executeUntilComplete() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Executes the EEA until it is complete.
exists() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
exists() - Method in class net.luis.utils.resources.InternalResourceLocation
 
exists() - Method in class net.luis.utils.resources.ResourceLocation
Checks if the resource exists.
expand(double) - Method in class net.luis.utils.util.Range
Expands the range by the specified value.
expandMax(double) - Method in class net.luis.utils.util.Range
Expands the maximum value of the range by the absolute of specified value.
expandMin(double) - Method in class net.luis.utils.util.Range
Expands the minimum value of the range by the absolute of specified value.
The resulting range is maybe empty if the given value is negative.
ExtendedEuclideanAlgorithm - Class in net.luis.utils.math.algorithm
Implementation of the Extended Euclidean Algorithm (EEA).
The EEA is an extension of the Euclidean Algorithm and is used to find the greatest common divisor (GCD) of two integers.
ExtendedEuclideanAlgorithm(int, int) - Constructor for class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Constructs a new EEA with the given value and divisor.
ExtendedEuclideanAlgorithm(long, long) - Constructor for class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Constructs a new EEA with the given value and divisor.
ExtendedEuclideanAlgorithm(BigInteger, BigInteger) - Constructor for class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Constructs a new EEA with the given value and divisor.
extendResolvedKeys(List<String>, String...) - Method in class net.luis.utils.io.data.property.PropertyReader
Extends the given list of resolved keys with the given new key parts.
The new key parts will be appended to each resolved key:
external(String) - Static method in class net.luis.utils.resources.ResourceLocation
Creates a new resource location for a resource on the filesystem.
external(String, String) - Static method in class net.luis.utils.resources.ResourceLocation
Creates a new resource location for a resource on the filesystem.
EXTERNAL - Enum constant in enum class net.luis.utils.resources.ResourceLocation.Type
Represents a resource on the filesystem.
ExternalResourceLocation - Class in net.luis.utils.resources
External implementation of ResourceLocation.
This class is used to load resources from the filesystem.
ExternalResourceLocation(String, String) - Constructor for class net.luis.utils.resources.ExternalResourceLocation
Constructs a new external resource location with the given path and name.
ExternalResourceLocation(Pair<String, String>) - Constructor for class net.luis.utils.resources.ExternalResourceLocation
Constructs a new external resource location from the given Pair.
The first value of the pair is the path, and the second value is the name of the resource.
extract(String, String) - Static method in class net.luis.utils.lang.StringUtils
Extracts all groups from the given string which match the given regex.
extract(String, Pattern) - Static method in class net.luis.utils.lang.StringUtils
Extract all groups from the given string which match the given pattern.

F

Facade - Annotation Interface in net.luis.utils.annotation.type
Types that are annotated with this annotation are considered as Facades.
Facades are used to provide a simple interface to a complex subsystem.
FIELD - Enum constant in enum class net.luis.utils.annotation.type.Singleton.Method
The instance of the singleton class can be obtained by accessing the public static field INSTANCE.
file - Variable in class net.luis.utils.io.FileAccess
File that is managed by this instance of the class.
file - Variable in class net.luis.utils.resources.ExternalResourceLocation
The resource as a file.
file - Variable in class net.luis.utils.resources.ResourceLocation
The (file) name of the resource.
FILE - Enum constant in enum class net.luis.utils.logging.LoggingType
The logging will be printed to a file.
FILE - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes files.
The underlying file is converted to and from a string.
FILE_LEVELS - Static variable in enum class net.luis.utils.logging.LoggingType
Supported file logging levels.
FILE_SIZE - Static variable in class net.luis.utils.logging.LoggerConfiguration
Regex to check if the file size is valid.
FileAccess - Class in net.luis.utils.io
Class to manage file access in a thread-safe way.
This class manages the access to a file from multiple threads.
FileAccess(Path) - Constructor for class net.luis.utils.io.FileAccess
Constructs a new file access instance for the given file.
fileSize - Variable in class net.luis.utils.logging.LoggerConfiguration
The maximum file size for the log files.
FileUtils - Class in net.luis.utils.io
Utility class for file operations.
FileUtils() - Constructor for class net.luis.utils.io.FileUtils
Private constructor to prevent instantiation.
This is a static helper class.
findParameter(Parameter, List<Pair<Object, String>>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Finds the value for the given parameter.
The value will be searched by its type, and if the type is ambiguous, by its name.
An exception will be thrown if no value for the parameter could be found.
findParameters(Executable, Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Finds the parameters in the correct order for the given executable.
The parameters will be searched by their type, and if the type is ambiguous, by their name.
findParameters(Executable, List<Pair<Object, String>>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Finds the parameters in the correct order for the given executable.
The parameters will be searched by their type, and if the type is ambiguous, by their name.
findSimilar(String, int, String...) - Static method in class net.luis.utils.lang.StringUtils
Finds similar strings to the given base string.
A value will be considered similar if the difference is less or equal to the given allowDifference.
The similarity will be checked with default counter-function StringUtils.countDifference(String, String).
findSimilar(String, int, List<String>) - Static method in class net.luis.utils.lang.StringUtils
Finds similar strings to the given base string.
A value will be considered similar if the difference is less or equal to the given allowDifference.
The similarity will be checked with default counter-function StringUtils.countDifference(String, String).
findSimilar(String, int, ToIntBiFunction<String, String>, List<String>) - Static method in class net.luis.utils.lang.StringUtils
Finds similar strings to the given base string.
A value will be considered similar if the difference is less or equal to the given allowDifference.
The similarity will be checked with the given counter-function.
first - Variable in class net.luis.utils.util.Pair
The first value of the pair.
firstCodec - Variable in class net.luis.utils.io.codec.struct.EitherCodec
The codec used to encode and decode the values of the first type.
firstCoefficients - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The first coefficients of the EEA.
flatMap(Function<T, Result<R>>) - Method in class net.luis.utils.util.Result
Maps the result of the operation to another result of the same type.
This is useful for chaining operations or validating the result.
If the result is an error, the mapping is not applied.
FLOAT - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Float number type.
FLOAT - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes float values.
FLOAT - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of float xml element type.
floatingPoint - Variable in enum class net.luis.utils.math.NumberType
Flag indicating if the number type is a floating point number.
forEach(BiConsumer<? super String, ? super JsonElement>) - Method in class net.luis.utils.io.data.json.JsonObject
Iterates over the entries of this json object and applies the given action to each entry.
frac(double) - Static method in class net.luis.utils.math.Mth
Returns the fractional (decimal) part of the given value.
friendlyEnumName(Function<E, String>, Function<String, E>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for an enum class.
The enum value is encoded and decoded using a friendly name.
FunctionUtils - Class in net.luis.utils.function
Utility class for the functional interfaces in the java.util.function and net.luis.utils.function.throwable packages.
FunctionUtils() - Constructor for class net.luis.utils.function.FunctionUtils
Private constructor to prevent instantiation.
This is a static helper class.

G

gcd(int, int) - Static method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Calculates the greatest common divisor (GCD) of the given value and divisor using the EEA.
gcd(long, long) - Static method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Calculates the greatest common divisor (GCD) of the given value and divisor using the EEA.
gcd(BigInteger, BigInteger) - Static method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Calculates the greatest common divisor (GCD) of the given value and divisor using the EEA.
GENERATED - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constant for the generated namespace of the xml type provider.
This namespace is used to create unique names for the xml types.
get() - Method in interface net.luis.utils.function.throwable.ThrowableSupplier
Returns the result of the supplier.
get() - Method in class net.luis.utils.util.LazyInitialization
Gets the value of the object if it has been initialized.
get() - Method in class net.luis.utils.util.LazyLoad
Gets the cached value.
If the value has not been loaded yet, it will be loaded first.
get() - Method in class net.luis.utils.util.Result
 
get(int) - Method in class net.luis.utils.collection.SortedList
 
get(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array.
get(int) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element at the given index from this container.
This method should only be used if the container is an array.
get(int) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given index from the collection.
This method should only be used if the collection is an array.
get(Class<?>, String, Object) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the value from the field with the given name from the given class and instance.
get(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object.
get(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the attribute with the given name from this collection.
get(String) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element with the given name from this container.
This method should only be used if the container is an object.
get(String) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given name from the collection.
This method should only be used if the collection is an object.
get(Field, Object) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the value of the given field from the given instance.
Exceptions will not be logged or thrown by default.
get(JsonElement, String) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
get(XmlElement, String) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
get(T, String) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the value of the given key from the given value.
The given type must be a map.
getAllClasses() - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the classpath.
If an error occurs, the error will be logged and an empty list will be returned.
getAllowedLevels() - Method in enum class net.luis.utils.logging.LoggingType
Gets the allowed levels for this logging type.
getAnnotatedClasses(Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the classpath which are annotated with the given annotation.
getAnnotatedClasses(String, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the given package which are annotated with the given annotation.
getAnnotatedField(Class<?>, String, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets the field with the given name from the given class which is annotated with the given annotation.
If the field does not exist or is not annotated with the given annotation, an empty optional will be returned.
getAnnotatedFields(Class<?>, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets all fields from the given class that are annotated with the given annotation.
getAnnotatedFields(Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all fields from the classpath which are annotated with the given annotation.
getAnnotatedFields(String, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all fields from the classes in the given package which are annotated with the given annotation.
getAnnotatedMethod(Class<?>, String, Class<? extends Annotation>, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets the method with the given name from the given class which is annotated with the given annotation.
getAnnotatedMethods(Class<?>, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets all methods from the given class that are annotated with the given annotation.
getAnnotatedMethods(Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all methods from the classpath which are annotated with the given annotation.
getAnnotatedMethods(String, Class<? extends Annotation>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all methods from the classes in the given package which are annotated with the given annotation.
getAs(int, ThrowableFunction<String, T, ? extends Exception>) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object at the given index.
The value is parsed as the result of the given parser.
The parser must not be able to handle null values.
In the case the parser is not able to parse the value, it should not return null, it should throw an exception.
getAs(String, ThrowableFunction<String, T, ? extends Exception>) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as the type of the given parser.
getAs(String, ThrowableFunction<String, T, ? extends Exception>) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object for the given key.
The value is parsed as the result of the given parser.
The parser must not be able to handle null values.
In the case the parser is not able to parse the value, it should not return null, it should throw an exception.
getAs(ThrowableFunction<String, T, ? extends Exception>) - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as the result of the given parser.
The parser must not be able to handle null values.
In the case the parser is not able to parse the value, it should not return null, it should throw an exception.
getAs(ThrowableFunction<String, T, ? extends Exception>, T) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as the result of the given parser.
The parser must not be able to handle null values.
In the case the parser is not able to parse the value, it should not return null, it should throw an exception.
If the parser throws an exception, the default value will be returned.
getAsArray() - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the elements of the collection as an unmodifiable list.
This method should only be used if the collection is an array.
getAsBoolean() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a boolean.
getAsBoolean(boolean) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a boolean.
If the value is not a boolean, the default value will be returned.
getAsBoolean(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a boolean.
The element will be converted to a json primitive and then to a boolean.
getAsBoolean(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a boolean at the given index.
getAsBoolean(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a boolean.
The element will be converted to a json primitive and then to a boolean.
getAsBoolean(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a boolean.
getAsBoolean(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a boolean for the given key.
getAsByte() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a byte.
getAsByte(byte) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a byte.
If the value is not a byte, the default value will be returned.
getAsByte(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a byte.
The element will be converted to a json primitive and then to a byte.
getAsByte(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a byte at the given index.
getAsByte(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a byte.
The element will be converted to a json primitive and then to a byte.
getAsByte(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a byte.
getAsByte(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a byte for the given key.
getAsContainer(int) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element at the given index from this container.
This method should only be used if the container is an array.
getAsContainer(int) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given index from the collection as a container.
This method should only be used if the collection is an array.
getAsContainer(String) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element with the given name from this container.
This method should only be used if the container is an object.
getAsContainer(String) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given name from the collection as a container.
This method should only be used if the collection is an object.
getAsDouble() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a double.
getAsDouble(double) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a double.
If the value is not a double, the default value will be returned.
getAsDouble(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a double.
The element will be converted to a json primitive and then to a double.
getAsDouble(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a double at the given index.
getAsDouble(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a double.
The element will be converted to a json primitive and then to a double.
getAsDouble(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a double.
getAsDouble(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a double for the given key.
getAsFloat() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a float.
getAsFloat(float) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a float.
If the value is not a float, the default value will be returned.
getAsFloat(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a float.
The element will be converted to a json primitive and then to a float.
getAsFloat(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a float at the given index.
getAsFloat(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a float.
The element will be converted to a json primitive and then to a float.
getAsFloat(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a float.
getAsFloat(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a float for the given key.
getAsInteger() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as an integer.
getAsInteger(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as an int.
The element will be converted to a json primitive and then to an int.
getAsInteger(int) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as an integer.
If the value is not an integer, the default value will be returned.
getAsInteger(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as an integer at the given index.
getAsInteger(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as an integer.
The element will be converted to a json primitive and then to an integer.
getAsInteger(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as an integer.
getAsInteger(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as an integer for the given key.
getAsJsonArray() - Method in interface net.luis.utils.io.data.json.JsonElement
Converts this json element to a json array.
getAsJsonArray(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a json array.
getAsJsonArray(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a json array.
getAsJsonObject() - Method in interface net.luis.utils.io.data.json.JsonElement
Converts this json element to a json object.
getAsJsonObject(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a json object.
getAsJsonObject(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a json object.
getAsJsonPrimitive() - Method in interface net.luis.utils.io.data.json.JsonElement
Converts this json element to a json primitive.
getAsJsonPrimitive(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a json primitive.
getAsLong() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a long.
getAsLong(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a long.
The element will be converted to a json primitive and then to a long.
getAsLong(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a long at the given index.
getAsLong(long) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a long.
If the value is not a long, the default value will be returned.
getAsLong(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a long.
The element will be converted to a json primitive and then to a long.
getAsLong(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a long.
getAsLong(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a long for the given key.
getAsNumber() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a number.
getAsNumber(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a number.
The element will be converted to a json primitive and then to a number.
getAsNumber(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a number at the given index.
getAsNumber(Number) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a number.
If the value is not a number, the default value will be returned.
getAsNumber(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a number.
The element will be converted to a json primitive and then to a number.
getAsNumber(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a number.
getAsNumber(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a number for the given key.
getAsObject() - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the elements of the collection as an unmodifiable map.
This method should only be used if the collection is an object.
getAsShort() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a short.
getAsShort(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a short.
The element will be converted to a json primitive and then to a short.
getAsShort(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a short at the given index.
getAsShort(short) - Method in interface net.luis.utils.util.getter.DefaultValueGetter
Returns the value which is hold by this object as a short.
If the value is not a short, the default value will be returned.
getAsShort(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a short.
The element will be converted to a json primitive and then to a short.
getAsShort(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a short.
getAsShort(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a short for the given key.
getAsString() - Method in class net.luis.utils.io.data.json.JsonPrimitive
 
getAsString() - Method in class net.luis.utils.io.data.property.Property
Returns the value which is hold by this object as a string.
getAsString() - Method in class net.luis.utils.io.data.xml.XmlAttribute
Returns the value which is hold by this object as a string.
getAsString() - Method in class net.luis.utils.io.data.xml.XmlValue
Returns the value which is hold by this object as a string.
getAsString() - Method in interface net.luis.utils.util.getter.ValueGetter
Returns the value which is hold by this object as a string.
getAsString(int) - Method in class net.luis.utils.io.data.json.JsonArray
Gets the json element at the given index from this json array as a string.
The element will be converted to a json primitive and then to a string.
getAsString(int) - Method in interface net.luis.utils.util.getter.IndexedValueGetter
Returns the value which is hold by this object as a string at the given index.
getAsString(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a string.
The element will be converted to a json primitive and then to a string.
getAsString(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the value of the attribute with the given name as a string.
getAsString(String) - Method in interface net.luis.utils.util.getter.KeyedValueGetter
Returns the value which is hold by this object as a string for the given key.
getAsValue(int) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element at the given index from this container.
This method should only be used if the container is an array.
getAsValue(int) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given index from the collection as a value.
This method should only be used if the collection is an array.
getAsValue(String) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the element with the given name from this container.
This method should only be used if the container is an object.
getAsValue(String) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the element with the given name from the collection as a value.
This method should only be used if the collection is an object.
getAsXmlContainer() - Method in class net.luis.utils.io.data.xml.XmlElement
Converts this xml element to a xml container.
getAsXmlValue() - Method in class net.luis.utils.io.data.xml.XmlElement
Converts this xml element to a xml value.
getAttribute(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key, or null if there is no such attribute in this element.
getAttributeAs(String, ThrowableFunction<String, T, ? extends Exception>) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as the type specified by the parser.
getAttributeAsBoolean(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a boolean.
getAttributeAsByte(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a byte.
getAttributeAsDouble(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a double.
getAttributeAsFloat(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a float.
getAttributeAsInteger(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as an integer.
getAttributeAsLong(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a long.
getAttributeAsNumber(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a number.
getAttributeAsShort(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a short.
getAttributeAsString(String) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attribute with the specified key as a string.
getAttributes() - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the attributes of the xml element.
getBigDecimal(String, int) - Static method in class net.luis.utils.math.Mth
Parses the actual hexadecimal string to a big decimal.
getBitSize() - Method in enum class net.luis.utils.math.NumberType
Returns the bit size of the number type.
getBoolean(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getBoolean(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getBoolean(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a boolean value of the type this provider is for.
getBuild() - Method in class net.luis.utils.util.Version
Returns the build version number as an integer.
getBySuffix(char) - Static method in enum class net.luis.utils.math.NumberType
Gets the number type by the given suffix.
Will return null if the suffix is '\0'.
getByte(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getByte(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getByte(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a byte value of the type this provider is for.
getBytes() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
getBytes() - Method in class net.luis.utils.resources.InternalResourceLocation
 
getBytes() - Method in class net.luis.utils.resources.ResourceLocation
Reads the content of the resource as a byte array.
getCallingClass() - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling class from the stack trace with an offset of:
getCallingClass(int) - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling class from the stack trace with an offset of:
getCallingMethod() - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling method from the stack trace with an offset of:
getCallingMethod(int) - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling method from the stack trace with an offset of:
getCallingMethod(StackTraceElement) - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling method from the specified stack trace element.
The calling method will be identified by the class name and the method name.
If there are multiple methods with the same name in the same class, the method will not be identified.
getCallingMethodSafe() - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling method safe from the stack trace with an offset of:
getCallingMethodSafe(int) - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the calling method safe from the stack trace with an offset of:
getClasses(boolean, Predicate<String>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets all classes from the classpath.
The classes will be filtered by the given condition.
getClasses(String) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the given package.
If the given package name is null, all classes will be returned.
getClasses(String, ClassPathUtils.Mode) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the given package.
The mode determines if the classes should be included or excluded
if the package name of the class starts with the given package name.
getClassesFromDirectory(File, Predicate<String>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets all classes from the given directory.
This method will be called recursively if the given directory contains subdirectories.
getClassesFromJar(File, Predicate<String>) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets all classes from the given jar file.
Any exceptions which will be thrown while trying to get the classes will be ignored.
getClassForName(String) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the class for the given name.
getClassPathFiles() - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets all files from the classpath.
The files will be extracted from the system property 'java.class.path'.
The system path separator will be used to split the classpath into single files.
getClosingElement(ScopedStringReader, String) - Method in class net.luis.utils.io.data.xml.XmlReader
Gets the number of characters until the closing element of the given element name.
getColumnKey - Variable in record class net.luis.utils.collection.util.SimpleCell
The field for the getColumnKey record component.
getColumnKey() - Method in record class net.luis.utils.collection.util.SimpleCell
Returns the value of the getColumnKey record component.
getConfiguration() - Static method in class net.luis.utils.logging.LoggingUtils
Returns the current configuration of the logging system.
getConfiguration(LoggerContext, String, URI) - Method in class net.luis.utils.logging.factory.SpringFactory
 
getConfiguration(LoggerContext, ConfigurationSource) - Method in class net.luis.utils.logging.factory.SpringFactory
 
getConfiguredLoggers() - Static method in class net.luis.utils.logging.LoggingUtils
Returns a list of all the configured loggers.
getConstructor(Class<T>, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the constructor from the given class with the given parameters.
Exceptions will not be logged or thrown by default.
getDecodeName(TypeProvider<R>, R) - Method in class net.luis.utils.io.codec.NamedCodec
Gets the first alias which is present in the given map or an error.
The result contains the name or an error message.
getDefault() - Method in class net.luis.utils.io.codec.struct.OptionalCodec
Gets the default value for this codec.
If no default value is provided, an empty optional is returned.
getDefaultOffset() - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the default offset for the stack trace elements.
getDivisor() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the current divisor of the EEA.
getDouble(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getDouble(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getDouble(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a double value of the type this provider is for.
getElements() - Method in class net.luis.utils.io.data.json.JsonArray
Returns an unmodifiable list of the json elements in this json array.
getElements() - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the elements of this container.
getElementType() - Method in class net.luis.utils.io.data.xml.XmlContainer
 
getElementType() - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the type of the xml element.
This is used internally for error messages.
getElementType() - Method in class net.luis.utils.io.data.xml.XmlValue
 
getEmpty(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getEmpty(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getEmpty(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as an empty value of the type this provider is for.
getExtension(String) - Static method in class net.luis.utils.io.FileUtils
Gets the extension of the given file.
The file can be a path or a file name.
getField(Class<?>, String) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the field from the given class with the given name.
Exceptions will not be logged or thrown by default.
getFieldsForType(Class<?>, Class<?>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets all fields from the given class for the given type.
If the given type is null, an empty list will be returned.
getFile() - Method in class net.luis.utils.io.FileAccess
Returns the file accessed by this instance of the class.
getFile() - Method in class net.luis.utils.resources.ResourceLocation
Returns the (file) name of the resource as a string.
getFirst() - Method in class net.luis.utils.util.Pair
Returns the first value of the pair.
getFirstCoefficient() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the first coefficient of the EEA.
getFirstCoefficient(int) - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Gets the first coefficient of the EEA.
The number of steps is subtracted from the size of the first coefficients list to get the correct coefficient.
getFloat(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getFloat(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getFloat(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a float value of the type this provider is for.
getGroupedMap() - Method in class net.luis.utils.io.data.property.Properties
Returns a map of all properties grouped by their subgroups.
The map returned can either contain nested maps or simple key-value pairs.
getIgnoreCondition() - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets a condition to filter the classes which should be ignored.
The condition is based on the system property 'unsafe.classes.ignored'.
getIndex() - Method in class net.luis.utils.io.reader.StringReader
Returns the current character index of the reader.
getInitialDivisor() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the initial divisor of the EEA.
getInitialValue() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the initial value of the EEA.
getInteger(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getInteger(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getInteger(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as an integer value of the type this provider is for.
getJsonPrimitive(String) - Method in class net.luis.utils.io.data.json.JsonObject
Gets the element with the given key from this json object as a json primitive.
getKey() - Method in class net.luis.utils.collection.util.SimpleEntry
 
getKey() - Method in class net.luis.utils.io.data.property.Property
Returns the key of the property as a string.
getLines() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
getLines() - Method in class net.luis.utils.resources.InternalResourceLocation
 
getLines() - Method in class net.luis.utils.resources.ResourceLocation
Reads the content of the resource as a stream of lines.
getList(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getList(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getList(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a list value of the type this provider is for.
getLogger(LoggingType, Level) - Static method in class net.luis.utils.logging.LoggingUtils
Gets the name of the logger for the given logging type and level.
getLong(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getLong(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getLong(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a long value of the type this provider is for.
getMajor() - Method in class net.luis.utils.util.Version
Returns the major version number as an integer.
getMap(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getMap(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getMap(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a map value of the type this provider is for.
getMapName() - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Returns the name for maps based on XmlTypeProvider.useRoot.
getMax() - Method in class net.luis.utils.util.Range
Returns the maximum value of the range.
getMaxValue() - Method in enum class net.luis.utils.math.NumberType
Returns the maximum value of the number type.
getMethod(Class<?>, String, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Gets the method from the given class with the given name and parameters.
Exceptions will not be logged or thrown by default.
getMethodForName(Class<?>, String) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets the method with the given name from the given class.
If the given name is null or there are multiple methods with the given name, an empty optional will be returned.
getMethodsForName(Class<?>, String) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets all methods of the given class for the given name (case-sensitive).
If the given name is null, all methods of the given class will be returned.
The methods will be returned in the order of their parameter count.
getMin() - Method in class net.luis.utils.util.Range
Returns the minimum value of the range.
getMinor() - Method in class net.luis.utils.util.Version
Returns the minor version number as an integer.
getMinValue() - Method in enum class net.luis.utils.math.NumberType
Returns the minimum value of the number type.
getName() - Method in interface net.luis.utils.io.data.json.JsonElement
Returns the name of the class in a human-readable format.
The name is the class name with spaces between the words and all letters in lower-case.
Used for debugging and error messages.
getName() - Method in class net.luis.utils.io.data.xml.XmlAttribute
Returns the name of the attribute.
getName() - Method in class net.luis.utils.io.data.xml.XmlElement
Returns the name of the xml element.
getName(String) - Static method in class net.luis.utils.io.FileUtils
Gets the name of the given file.
The file can be a path or a file name.
getNearest(long) - Static method in record class net.luis.utils.util.Priority
Returns the priority with the nearest value to the given priority.
getNumberClass() - Method in enum class net.luis.utils.math.NumberType
Returns the java number class that this type represents.
getOppositeBracket(char) - Static method in class net.luis.utils.lang.StringUtils
Gets the opposite bracket of the given bracket.
If the given character is not a bracket, '\0' will be returned.
getPatch() - Method in class net.luis.utils.util.Version
Returns the patch or fix version number as an integer.
getPath() - Method in class net.luis.utils.resources.ResourceLocation
Returns the path of the resource.
getPattern(LoggingType, Level) - Method in class net.luis.utils.logging.LoggerConfiguration
Gets the pattern for the given type and level.
getPredefinedConstants(Class<T>) - Static method in interface net.luis.utils.lang.EnumLike
Gets all predefined constants of the given enum-like class.
A constant is a static final field of the given enum-like class.
getPrefix() - Method in enum class net.luis.utils.math.Radix
Returns the prefix for the radix used in string conversion.
getProjectClasses() - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
Gets all classes from the classpath which are related to the project.
Related classes are classes that are in the same package as the caller of this method.
By default, the depth of the package which is used to filter the classes is 3.
getProperties() - Method in class net.luis.utils.io.data.property.Properties
Returns an unmodifiable collection of all properties in this instance.
getPropertiesOfSubgroup(String) - Method in class net.luis.utils.io.data.property.Properties
Returns all properties that are part of the specified subgroup.
If the subgroup is null or empty, all properties are returned.
The properties are copied and the subgroup is removed from the key.
getProperty(String) - Method in class net.luis.utils.io.data.property.Properties
Returns the property with the specified key or null if no such property exists.
getQuotient() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the current quotient of the EEA.
getRadix() - Method in enum class net.luis.utils.math.Radix
Returns the radix value.
getRandom(Random, List<T>) - Static method in class net.luis.utils.util.Utils
Returns a random value from the given list using the given random number generator.
getRandom(Random, T...) - Static method in class net.luis.utils.util.Utils
Returns a random value from the given array using the given random number generator.
getRandomSafe(Random, List<T>) - Static method in class net.luis.utils.util.Utils
Returns a random value from the given list using the given random number generator.
If the list is empty or null, an empty optional is returned.
getRandomSafe(Random, T...) - Static method in class net.luis.utils.util.Utils
Returns a random value from the given array using the given random number generator.
If the array is empty or null, an empty optional is returned.
getRange() - Method in class net.luis.utils.util.Range
Returns the range between the minimum and maximum value.
The range is calculated by subtracting the minimum value from the maximum value.
getRawName(Method, String...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Gets the raw name of the given method.
The raw name is the name of the method without prefixes like "get", "set", "is" or "has".
getRawValue() - Method in class net.luis.utils.io.data.property.Property
Returns the value of the property as a string.
getRawValue() - Method in class net.luis.utils.io.data.xml.XmlAttribute
Returns the raw unescaped value of the attribute.
getRawValue() - Method in class net.luis.utils.io.data.xml.XmlValue
Returns the raw unescaped value of the element.
getReadableString(String, Predicate<Character>) - Static method in class net.luis.utils.lang.StringUtils
Converts the given string to a readable string.
getRelativePath(String) - Static method in class net.luis.utils.io.FileUtils
Gets the relative path of the given file.
The file can be a path or a file name.
getRemainder() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the current remainder of the EEA.
getResource(String, String) - Static method in class net.luis.utils.resources.ResourceLocation
Gets a resource from the classpath or from the filesystem.
Trys to load the resource from the filesystem first.
If the resource was not found in the filesystem then the classpath will be tried.
If the resource was not found an exception will be thrown.
getResource(String, String, ResourceLocation.Type) - Static method in class net.luis.utils.resources.ResourceLocation
Gets a resource from the classpath or from the filesystem.
Trys to load the resource from the preferred type first.
If the preferred type is null then the resource will be tried to load from the classpath first.
If the resource was not found in the preferred type then the other type will be tried.
If the resource wa not found an exception will be thrown.
getRowKey - Variable in record class net.luis.utils.collection.util.SimpleCell
The field for the getRowKey record component.
getRowKey() - Method in record class net.luis.utils.collection.util.SimpleCell
Returns the value of the getRowKey record component.
getSecond() - Method in class net.luis.utils.util.Pair
Returns the second value of the pair.
getSecondCoefficient() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the second coefficient of the EEA.
getSecondCoefficient(int) - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Gets the second coefficient of the EEA.
The number of steps is subtracted from the size of the second coefficients list to get the correct coefficient.
getShort(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getShort(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getShort(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a short value of the type this provider is for.
getSignedValue() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns the signed value of the number.
The value is prefixed with the sign.
getSimpleNames(Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Maps the given classes to their simple names.
If the given array is null or empty, an empty list will be returned.
getSimpleNames(Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Maps the given objects to their simple names by converting them to their classes first.
If the given array is null or empty, an empty list will be returned.
getSize() - Method in class net.luis.utils.collection.WeightCollection
Returns the number of elements in the collection.
getStackTrace(int) - Static method in class net.luis.utils.util.unsafe.StackTraceUtils
Gets the stack trace element at the specified position.
This method is used internally to get the correct stack trace element.
getStep() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the number of steps the EEA has executed.
getStream() - Method in class net.luis.utils.io.data.InputProvider
Returns the internal input stream for reading data.
The input stream should not be used directly, it is intended to be passed to other readers or parsers.
getStream() - Method in class net.luis.utils.io.data.OutputProvider
Returns the internal output stream for writing data.
The output stream should not be used directly, it is intended to be passed to other writers or formatters.
getStream() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
getStream() - Method in class net.luis.utils.resources.InternalResourceLocation
 
getStream() - Method in class net.luis.utils.resources.ResourceLocation
Creates an input stream to the resource.
getString() - Method in class net.luis.utils.io.reader.StringReader
Returns the string to read from.
getString() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
getString() - Method in class net.luis.utils.resources.InternalResourceLocation
 
getString() - Method in class net.luis.utils.resources.ResourceLocation
Reads the content of the resource as a single string.
getString(JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
getString(XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
getString(T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Gets the given value as a string value of the type this provider is for.
getSuffix() - Method in enum class net.luis.utils.math.NumberType
Returns the suffix of the number type.
getSuffix() - Method in class net.luis.utils.util.Version
Returns the suffix or pre-release identifier.
getSuffixIndex() - Method in class net.luis.utils.util.Version
Gets the index of the suffix.
The index is used to compare the suffix with other suffixes.
The index is as follows:
0: No or unknown suffix 1: Alpha 2: Beta 3: Release candidate 4: Release 5: Final
getSuffixVersion() - Method in class net.luis.utils.util.Version
Returns the suffix version number as an integer.
getSupportedRadices() - Method in enum class net.luis.utils.math.NumberType
Returns the radices supported by the number type.
getSupportedTypes() - Method in class net.luis.utils.logging.factory.SpringFactory
Returns the supported file extensions of the factory.
The factory does not depend on the file extension, so it supports all file extensions.
getTargetKey(String, String, String[]) - Method in class net.luis.utils.io.data.property.PropertyReader
Validates and returns the target key of the given variable key part.
The target key must not be empty, contain nested variable parts or compacted parts.
The target key will be stripped of whitespaces.
getter - Variable in class net.luis.utils.io.codec.ConfiguredCodec
The function used to retrieve the component from the object.
getter(Function<O, C>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new configured codec.
The configured codec is used in the codec builder to create codecs for complex data structures.
The configured codec encodes and decodes components of the data structure using the given getter function.
It is expected that this is only called on named codecs.
getTotal() - Method in class net.luis.utils.collection.WeightCollection
Returns the total weight of the collection.
getType() - Method in class net.luis.utils.resources.ExternalResourceLocation
 
getType() - Method in class net.luis.utils.resources.InternalResourceLocation
 
getType() - Method in class net.luis.utils.resources.ResourceLocation
Returns the type of the resource.
getUnescapedValue() - Method in class net.luis.utils.io.data.xml.XmlAttribute
Returns the unescaped value of the attribute.
getUnescapedValue() - Method in class net.luis.utils.io.data.xml.XmlValue
Returns the unescaped value of the element.
getValue - Variable in record class net.luis.utils.collection.util.SimpleCell
The field for the getValue record component.
getValue() - Method in record class net.luis.utils.collection.util.SimpleCell
Returns the value of the getValue record component.
getValue() - Method in class net.luis.utils.collection.util.SimpleEntry
 
getValue() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Returns the current value of the EEA.
getValuePart(String[]) - Method in class net.luis.utils.io.data.property.PropertyReader
Returns the value part of the given parts.
If the line contains multiple separators, the value part will be concatenated with the separator.
getWhitespaceAlignmentCount(String) - Method in class net.luis.utils.io.data.property.PropertyReader
Returns the alignment count of the given key.
The alignment count is the count of whitespaces at the end of the key.
group(ConfiguredCodec<CI1, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codec into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>, ConfiguredCodec<CI15, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
group(ConfiguredCodec<CI1, O>, ConfiguredCodec<CI2, O>, ConfiguredCodec<CI3, O>, ConfiguredCodec<CI4, O>, ConfiguredCodec<CI5, O>, ConfiguredCodec<CI6, O>, ConfiguredCodec<CI7, O>, ConfiguredCodec<CI8, O>, ConfiguredCodec<CI9, O>, ConfiguredCodec<CI10, O>, ConfiguredCodec<CI11, O>, ConfiguredCodec<CI12, O>, ConfiguredCodec<CI13, O>, ConfiguredCodec<CI14, O>, ConfiguredCodec<CI15, O>, ConfiguredCodec<CI16, O>) - Static method in class net.luis.utils.io.codec.CodecBuilder
Creates a new codec grouper that groups the provided codecs into a single codec.
The resulting codec can be created by calling the create method of the returned grouper.
The create requires a grouping function as input that constructs the resulting object from the provided components.
GroupingTokenAction - Record Class in net.luis.utils.io.token.rule.actions
Token action that groups the tokens into a single token group.
The value of the group must match the definition of this action.
GroupingTokenAction(TokenDefinition) - Constructor for record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
Constructs a new grouping token action with the given definition.

H

handle(Throwable) - Method in enum class net.luis.utils.util.ErrorAction
Handles the error or exception.
handleException(Exception) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Handles the given exception.
If the system property 'reflection.exceptions.log' is true, the exception will be logged.
If the system property 'reflection.exceptions.throw' is true, the exception will be thrown.
has(JsonElement, String) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
has(XmlElement, String) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
has(T, String) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Checks if the given value is a map and contains the given key.
The given type must be a map.
hasConstructor(Class<?>, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a constructor with the given parameters.
Exceptions which occur during reflection will be ignored.
hasConstructor(Class<T>, Predicate<Constructor<T>>, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a constructor with the given parameters.
Exceptions which occur during reflection will be ignored.
hasDuplicates(Object, Object[]) - Static method in class net.luis.utils.util.Utils
Checks if the given object is contained multiple times in the given array.
hasDuplicates(Object, List<?>) - Static method in class net.luis.utils.util.Utils
Checks if the given object is contained multiple times in the given list.
hasDuplicates(Object[]) - Static method in class net.luis.utils.util.Utils
Checks if the given array contains duplicate values.
If the array is null or empty, false is returned.
hasDuplicates(List<?>) - Static method in class net.luis.utils.util.Utils
Checks if the given list contains duplicate values.
If the list is null or empty, false is returned.
hasFactoryBeenRegistered() - Static method in class net.luis.utils.logging.LoggingUtils
Checks whether the cached factory has been automatically registered.
hasField(Class<?>, String) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a field with the given name.
Exceptions which occur during reflection will be ignored.
hasField(Class<?>, String, Predicate<Field>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a field with the given name.
Exceptions which occur during reflection will be ignored.
hashCode() - Method in record class net.luis.utils.collection.util.SimpleCell
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.collection.util.SimpleEntry
 
hashCode() - Method in class net.luis.utils.collection.WeightCollection
 
hashCode() - Method in class net.luis.utils.io.codec.ConfiguredCodec
 
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.codec.NamedCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.EitherCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.ListCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.MapCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
hashCode() - Method in class net.luis.utils.io.codec.struct.UnitCodec
 
hashCode() - Method in class net.luis.utils.io.data.json.JsonArray
 
hashCode() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.data.json.JsonObject
 
hashCode() - Method in class net.luis.utils.io.data.json.JsonPrimitive
 
hashCode() - Method in class net.luis.utils.io.data.property.Properties
 
hashCode() - Method in class net.luis.utils.io.data.property.Property
 
hashCode() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.data.xml.XmlAttribute
 
hashCode() - Method in class net.luis.utils.io.data.xml.XmlAttributes
 
hashCode() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.data.xml.XmlContainer
 
hashCode() - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.data.xml.XmlElement
 
hashCode() - Method in class net.luis.utils.io.data.xml.XmlElements
 
hashCode() - Method in class net.luis.utils.io.data.xml.XmlValue
 
hashCode() - Method in class net.luis.utils.io.FileAccess
 
hashCode() - Method in class net.luis.utils.io.reader.StringReader
 
hashCode() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.reader.StringScope
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.definition.CharTokenDefinition
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.io.token.definition.WordTokenDefinition
 
hashCode() - Method in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.TokenPosition
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns a hash code value for this object.
hashCode() - Method in record class net.luis.utils.lang.EnumConstant
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
 
hashCode() - Method in class net.luis.utils.resources.ResourceLocation
 
hashCode() - Method in class net.luis.utils.util.Chance
 
hashCode() - Method in class net.luis.utils.util.Either.Left
 
hashCode() - Method in class net.luis.utils.util.Either.Right
 
hashCode() - Method in class net.luis.utils.util.LazyInitialization
 
hashCode() - Method in class net.luis.utils.util.LazyLoad
 
hashCode() - Method in class net.luis.utils.util.Pair
 
hashCode() - Method in record class net.luis.utils.util.Priority
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.util.Range
 
hashCode() - Method in class net.luis.utils.util.Result
 
hashCode() - Method in record class net.luis.utils.util.Version.AppendingVersion
Returns a hash code value for this object.
hashCode() - Method in class net.luis.utils.util.Version.Builder
 
hashCode() - Method in class net.luis.utils.util.Version
 
hasInterface(Class<?>, Class<?>) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class is an instance of the given interface.
hasMethod(Class<?>, String, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a method with the given name and parameters.
Exceptions which occur during reflection will be ignored.
hasMethod(Class<?>, String, Predicate<Method>, Class<?>...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Check if the given class has a method with the given name and parameters.
Exceptions which occur during reflection will be ignored.
hasProperty(String) - Method in class net.luis.utils.io.data.property.Properties
Checks if this instance contains a property with the specified key.
HEXADECIMAL - Enum constant in enum class net.luis.utils.math.Radix
Represents the hexadecimal radix (base 16) with the prefix 0x.
HIGH - Static variable in record class net.luis.utils.util.Priority
A high priority with the value of Integer.MAX_VALUE divided by 2.
highest(Priority...) - Static method in record class net.luis.utils.util.Priority
Gets the highest priority from the given priorities.
If the list of priorities is null or empty, the nearest priority to Long.MAX_VALUE is returned.
HIGHEST - Static variable in record class net.luis.utils.util.Priority
The highest priority with the value of Integer.MAX_VALUE.

I

identity() - Static method in interface net.luis.utils.io.token.rule.actions.TokenAction
Creates a token action that does nothing.
This action returns the matched tokens as they are.
The resulting list is an immutable copy of the original list.
ifLeft(Consumer<? super L>) - Method in class net.luis.utils.util.Either
Performs the given action if this either instance is a left instance.
ifLeft(Consumer<? super L>) - Method in class net.luis.utils.util.Either.Left
 
ifLeft(Consumer<? super L>) - Method in class net.luis.utils.util.Either.Right
 
ifRight(Consumer<? super R>) - Method in class net.luis.utils.util.Either
Performs the given action if this either instance is a right instance.
ifRight(Consumer<? super R>) - Method in class net.luis.utils.util.Either.Right
 
ifRight(Consumer<? super R>) - Method in class net.luis.utils.util.Either.Left
 
IGNORE - Enum constant in enum class net.luis.utils.util.ErrorAction
Ignores the error or exception.
Ignored - Class in net.luis.utils.annotation
Annotations to indicate that a parameter or local variable is ignored.
Ignored() - Constructor for class net.luis.utils.annotation.Ignored
Private constructor to prevent instantiation.
This is a static helper class.
Ignored.Always - Annotation Interface in net.luis.utils.annotation
Indicates that the parameter or local variable is always ignored.
Passing a null value to a parameter or local variable that is annotated with this annotation
will be safe and will not cause any errors.
Ignored.Maybe - Annotation Interface in net.luis.utils.annotation
Indicates that the parameter or local variable is maybe ignored.
The reason for this could be that there is a rare case where the parameter or local variable
is used or that passing a null value to the parameter or local variable will cause an error.
Ignored.Never - Annotation Interface in net.luis.utils.annotation
Indicates that a parameter is never ignored.
This is the default behavior of any parameter in java.
IllegalLineReadException - Exception Class in net.luis.utils.io.exception
Thrown when an io reader reads a line from a file in an illegal format.
The exception message should contain details about the error.
The message may also contain information about the expected format of the line.
IllegalLineReadException() - Constructor for exception class net.luis.utils.io.exception.IllegalLineReadException
Constructs a new illegal line read exception with no details.
IllegalLineReadException(String) - Constructor for exception class net.luis.utils.io.exception.IllegalLineReadException
Constructs a new illegal line read exception with the specified message.
IllegalLineReadException(String, Throwable) - Constructor for exception class net.luis.utils.io.exception.IllegalLineReadException
Constructs a new illegal line read exception with the specified message and cause.
IllegalLineReadException(Throwable) - Constructor for exception class net.luis.utils.io.exception.IllegalLineReadException
Constructs a new illegal line read exception with the specified cause.
INCLUDE - Enum constant in enum class net.luis.utils.util.unsafe.classpath.ClassPathUtils.Mode
The object will be included if the underlying predicate returns true.
increment() - Method in class net.luis.utils.io.token.TokenReader.PositionTracker
Counts a new character in the input string.
It increments the position and character index.
indent - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the indent record component.
indent - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the indent record component.
indent() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the indent record component.
indent() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the indent record component.
index - Variable in class net.luis.utils.io.reader.StringReader
The current index of the reader.
IndexedValueGetter - Interface in net.luis.utils.util.getter
A functional interface that provides methods to get a value of a specific type at a specific index.
The value is hold by the object that implements this interface.
indexOfAll(String, char) - Static method in class net.luis.utils.lang.StringUtils
Searches for occurrences of the given search character in the given string.
The index of the found occurrences will be returned in a list.
If the given string is empty, an empty list will be returned.
indexOfAll(String, String) - Static method in class net.luis.utils.lang.StringUtils
Searches for occurrences of the given search string in the given string.
The occurred indexes will be returned in a list.
If the given string or the search string is empty, an empty list will be returned.
IndicationInterface - Annotation Interface in net.luis.utils.annotation.type
Interfaces that are annotated with this annotation do not have any methods or fields.
The interface is only used to indication purpose only.
initialDivisor - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The initial divisor of the EEA.
initialised - Variable in class net.luis.utils.util.LazyInitialization
Whether the object has been initialized or not.
initialize(LoggerConfiguration) - Static method in class net.luis.utils.logging.LoggingUtils
Initializes the logging system with the given configuration.
initialize(LoggerConfiguration, boolean) - Static method in class net.luis.utils.logging.LoggingUtils
Initializes the logging system with the given configuration.
initializeInternal(LoggerConfiguration) - Static method in class net.luis.utils.logging.LoggingUtils
Initializes the log4j2 configurator with the given configuration.
initializeOrReconfigure(LoggerConfiguration) - Static method in class net.luis.utils.logging.LoggingUtils
Tries to initialize the logging system with the given configuration,
if the logging system has already been initialized, the configuration will be reconfigured.
initializeSafe(LoggerConfiguration) - Static method in class net.luis.utils.logging.LoggingUtils
Initializes the logging system with the given configuration if it has not already been initialized.
initialValue - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The initial value of the EEA.
InputProvider - Class in net.luis.utils.io.data
Input provider for reading data from a file or stream.
This class provides several constructors for different input sources.
InputProvider(File) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given file.
InputProvider(InputStream) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given input stream.
InputProvider(String) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given file.
InputProvider(String, String) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given path and file name.
The path and file name are concatenated to a file.
InputProvider(Path) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given path.
InputProvider(ResourceLocation) - Constructor for class net.luis.utils.io.data.InputProvider
Constructs a new input provider for the given resource location.
insertRadixPrefix(String, Radix) - Static method in enum class net.luis.utils.math.NumberType
Inserts the radix prefix to the given value if it is not already present.
If the value is signed, the radix prefix will be inserted after the sign.
This method should only be used for floating point numbers.
INSTANCE - Static variable in class net.luis.utils.io.codec.provider.JsonTypeProvider
The singleton instance of this class.
INSTANCE - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
The singleton instance of this class.
INSTANCE - Static variable in class net.luis.utils.io.data.json.JsonNull
The singleton instance of JsonNull.
This instance is immutable and can be used for all null values.
INSTANCE - Static variable in class net.luis.utils.io.token.definition.WordTokenDefinition
Singleton instance of the word token definition.
INSTANCE - Static variable in class net.luis.utils.io.token.rule.rules.AlwaysMatchTokenRule
The singleton instance of this class.
INSTANCE - Static variable in class net.luis.utils.io.token.rule.rules.EndTokenRule
The singleton instance of this class.
INT_STREAM - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes int streams.
The underlying int stream is converted to and from a Stream of integers.
INTEGER - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Integer number type.
INTEGER - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes integer values.
INTEGER - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of integer xml element type.
internal(String) - Static method in class net.luis.utils.resources.ResourceLocation
Creates a new resource location for a resource on the classpath.
internal(String, String) - Static method in class net.luis.utils.resources.ResourceLocation
Creates a new resource location for a resource on the classpath.
Internal - Annotation Interface in net.luis.utils.annotation
Types that are annotated with this annotation are considered to be used internally.
They are not intended to be used by the user, because this may cause an unexpected behavior.
INTERNAL - Enum constant in enum class net.luis.utils.resources.ResourceLocation.Type
Represents a resource on the classpath.
internalList - Variable in class net.luis.utils.collection.SortedList
The internal list.
InternalResourceLocation - Class in net.luis.utils.resources
Internal implementation of ResourceLocation.
This class is used to load resources from the classpath.
InternalResourceLocation(String, String) - Constructor for class net.luis.utils.resources.InternalResourceLocation
Constructs a new internal resource location with the given path and name.
InternalResourceLocation(Pair<String, String>) - Constructor for class net.luis.utils.resources.InternalResourceLocation
Constructs a new internal resource location from the given Pair.
The first value of the pair is the path, and the second value is the name of the resource.
INVALID_RULES - Static variable in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
A set of token rules that are not allowed to be used as start or between token rule.
This includes EndTokenRule and any other token rule class added to this set.
InvalidStringException - Exception Class in net.luis.utils.exception
Thrown to indicate that a string is invalid.
This exception will be thrown if a string is not valid for a specific operation.
For example:

If a string is empty and the operation requires a non-empty string. If a string is not in the correct format. The exception message should contain a description of the invalid string.
The message may also contain a description of the expected string.
InvalidStringException() - Constructor for exception class net.luis.utils.exception.InvalidStringException
Constructs a new invalid string exception with no details.
InvalidStringException(String) - Constructor for exception class net.luis.utils.exception.InvalidStringException
Constructs a new invalid string exception with the specified message.
InvalidStringException(String, Throwable) - Constructor for exception class net.luis.utils.exception.InvalidStringException
Constructs a new invalid string exception with the specified message and cause.
InvalidStringException(Throwable) - Constructor for exception class net.luis.utils.exception.InvalidStringException
Constructs a new invalid string exception with the specified cause.
InvalidValueException - Exception Class in net.luis.utils.exception
Thrown to indicate that a given value is invalid.
InvalidValueException() - Constructor for exception class net.luis.utils.exception.InvalidValueException
Constructs a new invalid value exception with no details.
InvalidValueException(String) - Constructor for exception class net.luis.utils.exception.InvalidValueException
Constructs a new invalid value exception with the specified message.
InvalidValueException(String, Throwable) - Constructor for exception class net.luis.utils.exception.InvalidValueException
Constructs a new invalid value exception with the specified message and cause.
InvalidValueException(Throwable) - Constructor for exception class net.luis.utils.exception.InvalidValueException
Constructs a new invalid value exception with the specified cause.
invoke(Class<?>, String, Object, Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Invokes the method with the given name and parameters on the given instance.
invoke(Method, Object, Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Invokes the given method with the given parameters on the given instance.
isAdvancedKey(String) - Method in class net.luis.utils.io.data.property.PropertyReader
Checks if the given key is either a compacted or variable key.
isAfterAllOccurrence(String, char, String...) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given target character is followed by any string inside the given follows array.
If the target character is found in the given string, all occurrences will be checked.
isArray() - Method in class net.luis.utils.io.data.xml.XmlElements
Checks whether the collection is an array.
An array is a collection with exactly one key and multiple elements.
isBeforeAllOccurrence(String, char, String...) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given target character is preceded by any string inside the given precedes array.
If the target character is found, all occurrences will be checked.
isComplete() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Checks if the EEA is complete.
isConstant(Field) - Static method in interface net.luis.utils.lang.EnumLike
Checks if the given field is a constant.
A constant is a static final field.
isContainerArray() - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if the collection of elements in this container is an array.
isContainerObject() - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if the collection of elements in this container is an object.
isDisabled(String) - Static method in class net.luis.utils.logging.LoggingHelper
Checks if the given property is disabled.
A property is disabled if it is equal to 'false', 'disable' or 'disabled', '0', 'off' or 'no' (case-insensitive).
isEmpty() - Method in class net.luis.utils.collection.WeightCollection
Checks if the collection is empty.
isEmpty() - Method in class net.luis.utils.io.data.json.JsonArray
Checks if this json array is empty.
isEmpty() - Method in class net.luis.utils.io.data.json.JsonObject
Checks if this json object is empty.
isEmpty() - Method in class net.luis.utils.io.data.xml.XmlAttributes
Checks if this collection contains no attributes.
isEmpty() - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if this container contains no elements.
isEmpty() - Method in class net.luis.utils.io.data.xml.XmlElements
Checks if this collection contains no elements.
isEmpty(UUID) - Static method in class net.luis.utils.util.Utils
Checks if the given UUID is empty.
An empty UUID is a UUID with all zeros.
isEnabled(String) - Static method in class net.luis.utils.logging.LoggingHelper
Checks if the given property is enabled.
A property is enabled if it is equal to 'true', 'enable' or 'enabled', '1', 'on' or 'yes' (case-insensitive).
isError() - Method in class net.luis.utils.util.Result
Checks if the result is an error.
isFalse() - Method in class net.luis.utils.util.Chance
Checks if the chance is always false.
isFloatingPoint() - Method in enum class net.luis.utils.math.NumberType
Returns if the number type is a floating point number.
isInBounds(double, double, double) - Static method in class net.luis.utils.math.Mth
Checks if the given value is in the given bounds.
The bounds are inclusive (min ≤ value ≤ max).
isInfinite() - Method in enum class net.luis.utils.math.NumberType
Returns if the number type is infinite (big integer or big decimal).
isInitialized() - Static method in class net.luis.utils.logging.LoggingUtils
Checks whether the logging system has been initialized.
isInRange(double) - Method in class net.luis.utils.util.Range
Checks if the specified value is within the range of this range.
isInRange(Number) - Method in enum class net.luis.utils.math.NumberType
Checks if the given number is in the range of the number type.
If the number type is infinite, this will always return true.
isInstantiated() - Method in class net.luis.utils.util.LazyInitialization
Checks whether the object has been initialized or not.
isJsonArray() - Method in interface net.luis.utils.io.data.json.JsonElement
Checks if this json element is a json array.
isJsonNull() - Method in interface net.luis.utils.io.data.json.JsonElement
Checks if this json element is a json null.
isJsonObject() - Method in interface net.luis.utils.io.data.json.JsonElement
Checks if this json element is a json object.
isJsonPrimitive() - Method in interface net.luis.utils.io.data.json.JsonElement
Checks if this json element is a json primitive.
isLastChar(String, char) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Checks if the given regex ends with the given character.
isLeft() - Method in class net.luis.utils.util.Either
Checks if this either instance is a left instance.
isLeft() - Method in class net.luis.utils.util.Either.Left
 
isLeft() - Method in class net.luis.utils.util.Either.Right
 
isLoaded() - Method in class net.luis.utils.util.LazyLoad
Checks whether the value has been loaded yet or not.
isNotEmpty() - Method in record class net.luis.utils.util.Version.AppendingVersion
Checks if the version number is not empty.
The version number is not empty if the separator is not '\0' and the version is not -1.
isObject() - Method in class net.luis.utils.io.data.xml.XmlElements
Checks whether the collection is an object.
An object is a collection with multiple keys.
Each key has exactly one element.
isPartOfGroup(String) - Method in class net.luis.utils.io.data.property.Property
Returns whether the key of the property is part of the given group.
A group is a string that ends optionally with a dot.
If the group is empty, the key is always part of the group.
Null will be treated as an empty string.
isPositioned() - Method in record class net.luis.utils.io.token.TokenPosition
Checks if the token is positioned.
A token is considered positioned if it has a valid line, character in line and character number (non-negative).
isPositioned() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Checks if the token group is positioned.
A token group is positioned if all tokens in the group are positioned.
isPowerOfTwo(int) - Static method in class net.luis.utils.math.Mth
Checks if the given value is a power of two.
isRight() - Method in class net.luis.utils.util.Either
Checks if this either instance is a right instance.
isRight() - Method in class net.luis.utils.util.Either.Left
 
isRight() - Method in class net.luis.utils.util.Either.Right
 
isRootLoggerConfigured() - Static method in class net.luis.utils.logging.LoggingUtils
Checks whether the root logger has been configured.
If this returns true, other loggers were ignored or not configured.
isSelfClosing() - Method in class net.luis.utils.io.data.xml.XmlContainer
 
isSelfClosing() - Method in class net.luis.utils.io.data.xml.XmlElement
Checks if the xml element is self-closing.
isSelfClosing() - Method in class net.luis.utils.io.data.xml.XmlValue
 
isSuccess() - Method in class net.luis.utils.util.Result
Checks if the result is successful.
isSupportedRadix(Radix) - Method in enum class net.luis.utils.math.NumberType
Checks if the number type supports the given radix.
isSurroundedBy(String, char, String...) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given target character is surrounded by any string inside the given surrounded array.
If the target character is found, all occurrences will be checked.
isSurroundedByBrackets(String) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Checks if the given regex is surrounded by brackets.
This method will check if the first character is a bracket and if the last character is a closing bracket.
isTrue() - Method in class net.luis.utils.util.Chance
Checks if the chance is always true.
isUndefined() - Method in class net.luis.utils.io.data.xml.XmlElements
Checks whether the collection is undefined.
isUndefinedContainer() - Method in class net.luis.utils.io.data.xml.XmlContainer
Checks if the collection of elements in this container is undefined.
isXmlContainer() - Method in class net.luis.utils.io.data.xml.XmlElement
Checks if the xml element is a container.
isXmlValue() - Method in class net.luis.utils.io.data.xml.XmlElement
Checks if the xml element is a value.
iterator() - Method in class net.luis.utils.io.data.json.JsonArray
Returns an iterator over the elements in this json array.
iterator() - Method in enum class net.luis.utils.logging.LoggingType
 

J

JsonArray - Class in net.luis.utils.io.data.json
Represents a json array.
A json array is an ordered collection of values.
The values can be of any type, including json null.
JsonArray() - Constructor for class net.luis.utils.io.data.json.JsonArray
Constructs an empty json array.
JsonArray(List<? extends JsonElement>) - Constructor for class net.luis.utils.io.data.json.JsonArray
Constructs a json array with the given list of json elements.
JsonArrayIndexOutOfBoundsException - Exception Class in net.luis.utils.io.data.json.exception
Thrown to indicate that an index of a json array is out of bounds.
This exception is thrown when an index is either negative or greater than or equal to the size of the array.
The exception message will contain the index and may the size of the array.
JsonArrayIndexOutOfBoundsException() - Constructor for exception class net.luis.utils.io.data.json.exception.JsonArrayIndexOutOfBoundsException
Constructs a new json array index out-of-bounds exception with no details.
JsonArrayIndexOutOfBoundsException(int) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonArrayIndexOutOfBoundsException
Constructs a new json array index out-of-bounds exception with the specified index.
JsonArrayIndexOutOfBoundsException(int, int) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonArrayIndexOutOfBoundsException
Constructs a new json array index out-of-bounds exception with the specified index and size.
JsonArrayIndexOutOfBoundsException(String) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonArrayIndexOutOfBoundsException
Constructs a new json array index out-of-bounds exception with the specified message.
JsonConfig - Record Class in net.luis.utils.io.data.json
Configuration for reading and writing json elements.
JsonConfig(boolean, boolean, String, boolean, int, boolean, int, Charset) - Constructor for record class net.luis.utils.io.data.json.JsonConfig
Constructs a new json configuration.
JsonElement - Interface in net.luis.utils.io.data.json
A generic class representing a json element.
A json element can be a json object, a json array, a json primitive or a json null.
JsonNull - Class in net.luis.utils.io.data.json
Represents a json null value.
This class is a singleton.
JsonNull() - Constructor for class net.luis.utils.io.data.json.JsonNull
Constructs a new json null.
Should not be used, use JsonNull.INSTANCE instead.
JsonObject - Class in net.luis.utils.io.data.json
Represents a json object.
A json object is an ordered set of name/value pairs.
A name is a string and a value can be any json element, including json null.
JsonObject() - Constructor for class net.luis.utils.io.data.json.JsonObject
Constructs an empty json object.
JsonObject(Map<String, ? extends JsonElement>) - Constructor for class net.luis.utils.io.data.json.JsonObject
Constructs a json object with the given elements.
JsonPrimitive - Class in net.luis.utils.io.data.json
Represents a json primitive value.
A primitive value can be a boolean, number or string.
JsonPrimitive(boolean) - Constructor for class net.luis.utils.io.data.json.JsonPrimitive
Constructs a new json primitive with the given boolean value.
JsonPrimitive(Number) - Constructor for class net.luis.utils.io.data.json.JsonPrimitive
Constructs a new json primitive with the given number value.
JsonPrimitive(String) - Constructor for class net.luis.utils.io.data.json.JsonPrimitive
Constructs a new json primitive with the given string value.
JsonReader - Class in net.luis.utils.io.data.json
A json reader for reading json elements from a string or input provider.
The reader can be used to read json arrays, objects, primitives and null values.
The reader expects only one json element per input.
JsonReader(String) - Constructor for class net.luis.utils.io.data.json.JsonReader
Constructs a new json reader with the given string and the default configuration.
JsonReader(String, JsonConfig) - Constructor for class net.luis.utils.io.data.json.JsonReader
Constructs a new json reader with the given string and configuration.
JsonReader(InputProvider) - Constructor for class net.luis.utils.io.data.json.JsonReader
Constructs a new json reader with the given input and the default configuration.
JsonReader(InputProvider, JsonConfig) - Constructor for class net.luis.utils.io.data.json.JsonReader
Constructs a new json reader with the given input and configuration.
JsonSyntaxException - Exception Class in net.luis.utils.io.data.json.exception
Thrown to indicate that the syntax of a json string is invalid.
The exception message will contain the details of the syntax error.
JsonSyntaxException() - Constructor for exception class net.luis.utils.io.data.json.exception.JsonSyntaxException
Constructs a new json syntax exception with no details.
JsonSyntaxException(String) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonSyntaxException
Constructs a new json syntax exception with the specified message.
JsonSyntaxException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonSyntaxException
Constructs a new json syntax exception with the specified message and cause.
JsonSyntaxException(Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonSyntaxException
Constructs a new json syntax exception with the specified cause.
JsonTypeException - Exception Class in net.luis.utils.io.data.json.exception
Thrown when a json element is not of the expected type.
The exception message will contain the details about the expected and actual types.
JsonTypeException() - Constructor for exception class net.luis.utils.io.data.json.exception.JsonTypeException
Constructs a new json type exception with no details.
JsonTypeException(String) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonTypeException
Constructs a new json type exception with the specified message.
JsonTypeException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonTypeException
Constructs a new json type exception with the specified message and cause.
JsonTypeException(Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.JsonTypeException
Constructs a new json type exception with the specified cause.
JsonTypeProvider - Class in net.luis.utils.io.codec.provider
Type provider implementation for json elements.
This class is a singleton and should be accessed through the JsonTypeProvider.INSTANCE constant.
JsonTypeProvider() - Constructor for class net.luis.utils.io.codec.provider.JsonTypeProvider
Private constructor to prevent instantiation.
JsonWriter - Class in net.luis.utils.io.data.json
A json writer for writing json elements to an output.
The writer can be used to write json arrays, objects, values and null values.
The writer expects only one json element per output.
JsonWriter(OutputProvider) - Constructor for class net.luis.utils.io.data.json.JsonWriter
Constructs a new json writer with the default configuration.
JsonWriter(OutputProvider, JsonConfig) - Constructor for class net.luis.utils.io.data.json.JsonWriter
Constructs a new json writer with the given configuration.

K

key - Variable in class net.luis.utils.collection.util.SimpleEntry
The key of the entry.
key - Variable in class net.luis.utils.io.data.property.Property
The key of the property.
keyable(Function<C, String>, Function<String, C>) - Method in interface net.luis.utils.io.codec.Codec
Wraps the current codec into a new keyable codec using the given key encoder and key decoder.
The key encoder and key decoder are defined as functions that convert keys of the type C to and from strings.
If the key decoder is unable to decode a key, it should return null.
keyable(Codec<C>, Function<C, String>, Function<String, C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for the given codec using the given key encoder and key decoder.
The key encoder and key decoder are defined as functions that convert keys of the type C to and from strings.
If the key decoder is unable to decode a key, it should return null.
keyable(Codec<C>, Function<String, C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for the given codec using the given key encoder and key decoder.
The key encoder is the java built-in toString() method.
The key decoder is defined as function that converts keys from strings to values of the type C.
If the key decoder is unable to decode a key, it should return null.
keyable(Codec<C>, KeyableEncoder<C>, KeyableDecoder<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable codec for the given codec using the given key encoder and key decoder.
KeyableCodec<C> - Interface in net.luis.utils.io.codec
Combines the Codec, KeyableEncoder and KeyableDecoder interfaces.
Into one interface that provides all methods to encode and decode a value or a key.
KeyableDecoder<C> - Interface in net.luis.utils.io.codec.decoder
Extension of Decoder that allows decoding keys.
A key is a string used to identify a value in a data structure.
KeyableEncoder<C> - Interface in net.luis.utils.io.codec.encoder
Extension of Encoder that allows encoding keys.
A key is a string used to identify a value in a data structure.
keyCodec - Variable in class net.luis.utils.io.codec.struct.MapCodec
The codec used to encode and decode the keys of the map.
KeyedValueGetter - Interface in net.luis.utils.util.getter
A functional interface that provides methods to get a value of a specific type with a specific key.
The value is hold by the object that implements this interface.
keyPattern - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the keyPattern record component.
keyPattern() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the keyPattern record component.
keySet() - Method in class net.luis.utils.io.data.json.JsonObject
Returns the set of keys in this json object.

L

LANG_MATCH_IN_QUOTES - Static variable in class net.luis.utils.lang.StringUtils
Constant for system property 'lang.match.in.quotes'.
LANG_SURROUNDED_REVERSE_BRACKETS - Static variable in class net.luis.utils.lang.StringUtils
Constant for system property 'lang.surrounded.reverse.brackets'.
LazyInitialization<T> - Class in net.luis.utils.util
A class representing a lazy initialization of an object.
LazyInitialization() - Constructor for class net.luis.utils.util.LazyInitialization
Constructs a new lazy initialization with no value and no initialization action.
LazyInitialization(Consumer<T>) - Constructor for class net.luis.utils.util.LazyInitialization
Constructs a new lazy initialization with the given initialization action.
LazyInitialization(MutableObject<T>, Consumer<T>, boolean) - Constructor for class net.luis.utils.util.LazyInitialization
Constructs a new lazy initialization with the given mutable object and initialization action.
LazyInitialization(T) - Constructor for class net.luis.utils.util.LazyInitialization
Constructs an already initialized lazy initialization with the given value.
LazyInitialization(T, Consumer<T>) - Constructor for class net.luis.utils.util.LazyInitialization
Constructs an already initialized lazy initialization with the given value and initialization action.
LazyLoad<T> - Class in net.luis.utils.util
Represents a lazy-loaded value.
LazyLoad(Supplier<T>) - Constructor for class net.luis.utils.util.LazyLoad
Constructs a new lazy load with the specified supplier.
left() - Method in class net.luis.utils.util.Either
Returns the left value as an Optional.
left() - Method in class net.luis.utils.util.Either.Left
 
left() - Method in class net.luis.utils.util.Either.Right
 
left(L) - Static method in class net.luis.utils.util.Either
Creates a new either instance with the given value as the left value.
Left(L) - Constructor for class net.luis.utils.util.Either.Left
Constructs a new left either instance with the given value.
leftOrThrow() - Method in class net.luis.utils.util.Either.Left
 
leftOrThrow() - Method in class net.luis.utils.util.Either
Returns the left value or throws an exception if it is a right either.
leftOrThrow() - Method in class net.luis.utils.util.Either.Right
 
levenshteinDistance(String, String) - Static method in class net.luis.utils.lang.StringUtils
Calculates the levenshtein distance between the given strings.
line - Variable in record class net.luis.utils.io.token.TokenPosition
The field for the line record component.
line - Variable in class net.luis.utils.io.token.TokenReader.PositionTracker
The line number of the current character in the input string.
line() - Method in record class net.luis.utils.io.token.TokenPosition
Returns the value of the line record component.
list() - Method in interface net.luis.utils.io.codec.Codec
Creates a new list codec uses the current codec as element codec for the list codec.
The created list codec has no size restrictions.
list(int) - Method in interface net.luis.utils.io.codec.Codec
Creates a new list codec uses the current codec as element codec for the list codec with the given maximum size.
The list must have at most the maximum size after encoding and decoding.
list(int, int) - Method in interface net.luis.utils.io.codec.Codec
Creates a new list codec uses the current codec as element codec for the list codec with the given minimum and maximum size.
The list must have at least the minimum size and at most the maximum size after encoding and decoding.
list(Codec<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new list codec for the given codec.
The created list codec has no size restrictions.
list(Codec<C>, int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new list codec for the given codec and maximum size.
The list must have at most the maximum size after encoding and decoding.
list(Codec<C>, int, int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new list codec for the given codec and minimum and maximum size.
The list must have at least the minimum size and at most the maximum size after encoding and decoding.
LIST - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of list xml element type.
ListCodec<C> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding lists of elements.
This codec uses another codec to encode and decode the elements of the list.
ListCodec(Codec<C>) - Constructor for class net.luis.utils.io.codec.struct.ListCodec
Constructs a new list codec using the given codec for the elements.
The list codec will accept lists of any size.
Do not use this constructor directly, use any of the list factory methods in Codec instead.
ListCodec(Codec<C>, int, int) - Constructor for class net.luis.utils.io.codec.struct.ListCodec
Constructs a new list codec using the given codec for the elements and the size range of the list.
Do not use this constructor directly, use any of the list factory methods in Codec instead.
listFiles(File, FilenameFilter, boolean) - Static method in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Gets all files from the given directory.
If the given directory contains subdirectories, this method will be called recursively.
listToMap(List<T>, Function<T, Map.Entry<K, V>>) - Static method in class net.luis.utils.util.Utils
Maps the given list to a map using the given mapper function.
The mapper takes the list value and returns the resulting map entry.
load() - Method in class net.luis.utils.util.LazyLoad
Loads the value from the supplier if it has not been loaded yet.
load(String...) - Static method in class net.luis.utils.logging.LoggingUtils
Loads the logging configuration for the given loggers from the system properties and initializes the logging system.
Loading the logger should be done as early as possible in the application lifecycle.
Ideally, in the static-initializer of the main class as first call.
load(List<String>) - Static method in class net.luis.utils.logging.LoggingHelper
Creates a new logger configuration for the given loggers.
The configuration is created with the default values and modifies it according to the system properties.
General system properties:
logging.status_level
The status level of the internal apache logger, expect a valid Level name in lower case.
Default: 'error'
logging.config
The location of the logging configuration file, expect a relative or absolute path of a file.
If specified, the system properties will be loaded from the configuration file.
Default: None
logging.config.override
Enables/disables the override of system properties by the configuration file, expect 'true' or 'false'.
Default: 'false'
logging.console
Enables/disables console logging, expect 'true' or 'false'.
Default: 'true'
logging.file
Enables/disables file logging, expect 'true' or 'false'.
Default: 'true'

Log and archive system properties:
logging.file.size
The maximum size of a log file, expect a number followed by a unit.
Default: '20MB'
logging.archive.type
The type of the log archives, expect a file extension ('.zip', '.gz', '.bz2', '.xz').
Default: '.gz'
logging.archive.compression_level
The compression level of the log archives, expect a number between 0 and 9.
Default: '4'
logging.archive.max_files
The maximum number of log archives which should be kept, expect a number greater than 0.
Default: '10'
logging.archive.auto_deletion.depth
The maximum depth of the log archive auto deletion, expect a number greater than 0.
Default: '1'
logging.archive.auto_deletion.age
The maximum age of the log archive auto deletion, expect a number greater than 0.
Default: '30'

File logging system properties:
logging.file.{level}
Enables/disables file logging for the given level, expect 'true' or 'false'.
{level} must be replaced with a valid Level name in lower case.

Default: Enabled levels: None Disabled levels: Trace, Debug, Info, Warn, Error, Fatal Examples: logging.file.debug=true
Enables file logging for the debug level
logging.file.info=false
Disables file logging for the info level
logging.file.folder.root
The root folder to log to, expect a relative or absolute path of a folder.
Default: './'
logging.file.folder.{level}
The folder to a log file of a specific level, expect a relative path of a folder.
{level} must be replaced with a valid Level name in lower case.
Default: 'logs/'
logging.file.folder.{level}.file
The file name of the current log file of a specific level, expect a file name.
{level} must be replaced with a valid Level name in lower case.
Default: '{level}.log'
logging.file.folder.{level}.archive
The file pattern of the archived log files of a specific level, expect a file pattern.
{level} must be replaced with a valid Level name in lower case.
Default: '{level}-%d{dd-MM-yyyy}-%i.log'
load(List<String>) - Static method in class net.luis.utils.logging.LoggingUtils
Loads the logging configuration for the given loggers from the system properties and initializes the logging system.
Loading the logger should be done as early as possible in the application lifecycle.
Ideally, in the static-initializer of the main class as first call.
loadInternal(List<String>) - Static method in class net.luis.utils.logging.LoggingHelper
Creates a new logger configuration for the given loggers.
The configuration is created with the default values and modifies it according to the system properties.
The system properties are specified in the documentation of the method LoggingHelper.load(List).
loadProperties(ResourceLocation) - Static method in class net.luis.utils.logging.LoggingHelper
Loads the system properties from the given location.
The location must be a valid file, and the properties must be in the format 'key=value'.
If a property is already set, the override is allowed if the system property 'logging.config.override' is set to 'true'.
LOCAL_DATE - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes local date values.
The underlying local date is converted to and from a string.
LOCAL_DATE_TIME - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes local date time values.
The underlying local date time is converted to and from a string.
LOCAL_TIME - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes local time values.
The underlying local time is converted to and from a string.
lock - Variable in class net.luis.utils.io.FileAccess
Lock to ensure that one thread only accesses the file at a time.
LOGGER - Static variable in class net.luis.utils.logging.LoggingExceptionHandler
The logger for this class.
LOGGER - Static variable in class net.luis.utils.util.unsafe.classpath.ClassPathUtils
The logger for this class.
LOGGER - Static variable in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
The logger for this class.
Used for logging errors and warnings.
LoggerConfiguration - Class in net.luis.utils.logging
Runtime logger configuration for Log4j2.

The default configuration is:
Console logging enabled File logging enabled A disabled logging type will not be initialized and therefore not be available and cannot be enabled later.
The default loggers are:
Console: INFO, WARN, ERROR, FATAL File: none Additional loggers can be added directly to the configuration or after initialization using LoggingUtils.
LoggerConfiguration(String...) - Constructor for class net.luis.utils.logging.LoggerConfiguration
Constructs a new logger configuration with the specified logger name.
The logger name is used to identify the logger in the configuration.
The logger name must be the package name, the full class name, or a '*' to include all loggers.
If the list contains a '*', all other logger names will be ignored.
LoggerConfiguration(List<String>) - Constructor for class net.luis.utils.logging.LoggerConfiguration
Constructs a new logger configuration with the specified logger name.
The logger name is used to identify the logger in the configuration.
The logger name must be the package name, the full class name or a '*' to include all loggers.
If the list contains a '*', all other logger names will be ignored.
loggers - Variable in class net.luis.utils.logging.LoggerConfiguration
The names of the loggers which should be configured.
LOGGING_ARCHIVE_AUTO_DELETION_AGE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.archive.auto_deletion.age'.
LOGGING_ARCHIVE_AUTO_DELETION_DEPTH - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.archive.auto_deletion.depth'.
LOGGING_ARCHIVE_COMPRESSION_LEVEL - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.archive.compression_level'.
LOGGING_ARCHIVE_MAX_FILES - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.archive.max_files'.
LOGGING_ARCHIVE_TYPE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.archive.type'.
LOGGING_CONFIG - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.config'.
LOGGING_CONFIG_OVERRIDE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.config.override'.
LOGGING_CONSOLE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.console'.
LOGGING_FILE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.file'.
LOGGING_FILE_FOLDER_ROOT - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.file.folder.root'.
LOGGING_FILE_SIZE - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.file.size'.
LOGGING_LEVEL_STATUS - Static variable in class net.luis.utils.logging.LoggingHelper
Constant for the system property 'logging.status_level'.
LoggingExceptionHandler - Class in net.luis.utils.logging
Implementation of Thread.UncaughtExceptionHandler that logs uncaught exceptions.
LoggingExceptionHandler() - Constructor for class net.luis.utils.logging.LoggingExceptionHandler
Constructs a new logging exception handler.
LoggingHelper - Class in net.luis.utils.logging
Helper class to configure logging from system properties.
LoggingHelper() - Constructor for class net.luis.utils.logging.LoggingHelper
Private constructor to prevent instantiation.
This is a static helper class.
LoggingType - Enum Class in net.luis.utils.logging
The possible logging types.
Implements Iterable to allow iterating over the allowed levels.
LoggingType() - Constructor for enum class net.luis.utils.logging.LoggingType
 
LoggingUtils - Class in net.luis.utils.logging
Logging utility class.

This class is used to initialize or load a logging configuration.
It also provides methods to enable/disable logging.
LoggingUtils() - Constructor for class net.luis.utils.logging.LoggingUtils
Private constructor to prevent instantiation.
This is a static helper class.
logs - Variable in class net.luis.utils.logging.LoggerConfiguration
The log file and archive patterns for the log levels.
LONG - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Long number type.
LONG - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes long values.
LONG - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of long xml element type.
LONG_STREAM - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes long streams.
The underlying long stream is converted to and from a Stream of longs.
LOW - Static variable in record class net.luis.utils.util.Priority
A low priority with the value of Integer.MIN_VALUE divided by 2.
lowest(Priority...) - Static method in record class net.luis.utils.util.Priority
Gets the lowest priority from the given priorities.
If the list of priorities is null or empty, the nearest priority to Long.MIN_VALUE is returned.
LOWEST - Static variable in record class net.luis.utils.util.Priority
The lowest priority with the value of Integer.MIN_VALUE.

M

major - Variable in class net.luis.utils.util.Version.Builder
The major version number.
major - Variable in class net.luis.utils.util.Version
The major version number.
make(T, Consumer<T>) - Static method in class net.luis.utils.util.Utils
Applies the given action to the given object and returns the object.
This is useful for creating objects and applying actions to them in one line.
map - Variable in class net.luis.utils.collection.WeightCollection
The internal map.
map(Function<T, R>) - Method in class net.luis.utils.util.Result
Maps the result of the operation to another type.
If the result is an error, the mapping is not applied.
map(Codec<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new map codec with Codec.STRING as key codec and the given value codec.
The created map codec has no size restrictions.
map(KeyableCodec<K>, Codec<V>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new map codec with the given key codec and value codec.
The created map codec has no size restrictions.
map(KeyableCodec<K>, Codec<V>, int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new map codec with the given key codec and value codec and maximum size.
The map must have at most the maximum size after encoding and decoding.
map(KeyableCodec<K>, Codec<V>, int, int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new map codec with the given key codec and value codec and minimum and maximum size.
The map must have at least the minimum size and at most the maximum size after encoding and decoding.
map(ResultingFunction<O, C>, ResultMappingFunction<C, O>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new mapped codec of type O from the current codec.
This mapping functions allows the handling of errors that occur during mapping.
MAP - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of map xml element type.
mapBoth(Function<? super L, ? extends C>, Function<? super R, ? extends D>) - Method in class net.luis.utils.util.Either.Left
 
mapBoth(Function<? super L, ? extends C>, Function<? super R, ? extends D>) - Method in class net.luis.utils.util.Either
Maps the left and right values of this either instance to new values.
mapBoth(Function<? super L, ? extends C>, Function<? super R, ? extends D>) - Method in class net.luis.utils.util.Either.Right
 
MapCodec<K,V> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding maps of key-value pairs.
This codec uses two other codecs to encode and decode the keys and values of the map.
The key codec must be a KeyableCodec to encode and decode the keys of the map.
MapCodec(KeyableCodec<K>, Codec<V>) - Constructor for class net.luis.utils.io.codec.struct.MapCodec
Constructs a new map codec using the given codecs for the keys and values.
The map codec will accept maps of any size.
Do not use this constructor directly, use any of the map factory methods in Codec instead.
MapCodec(KeyableCodec<K>, Codec<V>, int, int) - Constructor for class net.luis.utils.io.codec.struct.MapCodec
Constructs a new map codec using the given codecs for the keys and values and the size range of the map.
Do not use this constructor directly, use any of the map factory methods in Codec instead.
mapDecoder(ResultMappingFunction<C, O>) - Method in interface net.luis.utils.io.codec.decoder.Decoder
Maps the type of the decoded value to another type.
The mapping function is applied to the decoded result of the decoding process.
The mapping function returns a result containing the mapped value or an error message if the mapping process fails.
mapEncoder(ResultingFunction<O, C>) - Method in interface net.luis.utils.io.codec.encoder.Encoder
Maps the type of the encoded value to another type.
The mapping function is applied to the raw input value of Encoder.encodeStart(TypeProvider, Object, Object).
The mapping function returns a result containing the mapped value or an error message if the mapping process fails.
The mapping function is not allowed to throw any exceptions.
mapFirst(Function<? super F, ? extends T>) - Method in class net.luis.utils.util.Pair
Maps the first value of the pair to a new value using the specified mapper.
mapFlat(Function<O, C>, ResultMappingFunction<C, O>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new mapped codec of type O from the current codec.
mapKey(Map<K, V>, Function<K, T>) - Static method in class net.luis.utils.util.Utils
Maps the keys of the given map using the given mapper function.
mapLeft(Function<? super L, ? extends T>) - Method in class net.luis.utils.util.Either
Maps the left value of this either instance to a new value.
If this is a right either, the mapping is not applied.
mapList(List<T>, Function<T, U>) - Static method in class net.luis.utils.util.Utils
Maps the given list to a new list using the given mapper function.
mapList(List<T>, Function<T, U>, Function<U, V>) - Static method in class net.luis.utils.util.Utils
Maps the given list to a new list using the given two mapper functions.
mapRight(Function<? super R, ? extends T>) - Method in class net.luis.utils.util.Either
Maps the right value of this either instance to a new value.
If this is a left either, the mapping is not applied.
mapSecond(Function<? super S, ? extends T>) - Method in class net.luis.utils.util.Pair
Maps the second value of the pair to a new value using the specified mapper.
mapTo(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class net.luis.utils.util.Either.Left
 
mapTo(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class net.luis.utils.util.Either
Maps the left and right values of this either instance to a new value.
mapTo(Function<? super L, ? extends T>, Function<? super R, ? extends T>) - Method in class net.luis.utils.util.Either.Right
 
mapToList(Map<K, V>, BiFunction<K, V, T>) - Static method in class net.luis.utils.util.Utils
Maps the given map to a list using the given mapper function.
The mapper takes the key and value of the map and returns the resulting list value.
mapValue(Map<K, V>, Function<V, T>) - Static method in class net.luis.utils.util.Utils
Maps the values of the given map using the given mapper function.
mark() - Method in class net.luis.utils.io.reader.StringReader
Marks the current index of the reader.
The marked index can be reset to by calling StringReader.reset().
After calling StringReader.reset(), the marked index will be reset.
markedIndex - Variable in class net.luis.utils.io.reader.StringReader
The marked index of the reader.
match(List<Token>, int) - Method in interface net.luis.utils.io.token.definition.TokenDefinition
 
match(List<Token>, int) - Method in class net.luis.utils.io.token.rule.rules.AlwaysMatchTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
 
match(List<Token>, int) - Method in class net.luis.utils.io.token.rule.rules.EndTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
 
match(List<Token>, int) - Method in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
 
match(List<Token>, int) - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Checks if the given tokens match this rule starting from the specified index.
If the match is successful, a TokenRuleMatch is returned, otherwise null.
matchedTokens - Variable in record class net.luis.utils.io.token.rule.TokenRuleMatch
The field for the matchedTokens record component.
matchedTokens() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns the value of the matchedTokens record component.
matches(String) - Method in record class net.luis.utils.io.token.definition.CharTokenDefinition
 
matches(String) - Method in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
 
matches(String) - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
 
matches(String) - Method in interface net.luis.utils.io.token.definition.TokenDefinition
Checks if the given word matches this token definition.
matches(String) - Method in class net.luis.utils.io.token.definition.WordTokenDefinition
 
matchesPattern(Pattern, String) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given string matches the given pattern.
matchingBalanced(String, char, char) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given string is matching balanced.
This means that the open and close characters are in the correct order and have the same number of occurrences.
matchingBalanced(String, String, String) - Static method in class net.luis.utils.lang.StringUtils
Checks if the given string is matching balanced.
This means that the open and close strings are in the correct order and have the same number of occurrences.
matchingTokenRule - Variable in record class net.luis.utils.io.token.rule.TokenRuleMatch
The field for the matchingTokenRule record component.
matchingTokenRule() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns the value of the matchingTokenRule record component.
max - Variable in class net.luis.utils.util.Range
The maximum value of the range.
max(double...) - Static method in class net.luis.utils.math.Mth
Returns the maximum of the given double values.
If the given array is null or empty, Double.MIN_VALUE will be returned.
max(int...) - Static method in class net.luis.utils.math.Mth
Returns the maximum of the given integer values.
If the given array is null or empty, Integer.MIN_VALUE will be returned.
max(long...) - Static method in class net.luis.utils.math.Mth
Returns the maximum of the given long values.
If the given array is null or empty, Long.MIN_VALUE will be returned.
maxArchiveFiles - Variable in class net.luis.utils.logging.LoggerConfiguration
The maximum number of archived log files which should be kept.
maxArraySimplificationSize - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the maxArraySimplificationSize record component.
maxArraySimplificationSize() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the maxArraySimplificationSize record component.
maxInclusive - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The maximum value of the range (inclusive).
maxObjectSimplificationSize - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the maxObjectSimplificationSize record component.
maxObjectSimplificationSize() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the maxObjectSimplificationSize record component.
maxOccurrences - Variable in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
The field for the maxOccurrences record component.
maxOccurrences() - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Returns the value of the maxOccurrences record component.
maxSize - Variable in class net.luis.utils.io.codec.struct.ListCodec
The maximum size of the list (inclusive).
maxSize - Variable in class net.luis.utils.io.codec.struct.MapCodec
The maximum size of the map (inclusive).
maxValue - Variable in enum class net.luis.utils.math.NumberType
The maximum value of the number type.
Null if the number type is infinite (big integer or big decimal).
Mediator - Annotation Interface in net.luis.utils.annotation.type
Types that are annotated with this annotation are considered to be mediators
between two or more types.
memorize(BiFunction<T, U, R>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given BiFunction and returns a new BiFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorize(Function<T, R>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given Function and returns a new Function that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorize(Supplier<T>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given Supplier and returns a new Supplier that caches the result of the first call.
memorize(QuadFunction<T, U, V, W, R>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given QuadFunction and returns a new QuadFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorize(TriFunction<T, U, V, R>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given TriFunction and returns a new TriFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorizeThrowable(ThrowableBiFunction<T, U, R, X>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given ThrowableBiFunction and returns a new ThrowableBiFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorizeThrowable(ThrowableFunction<T, R, X>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given ThrowableFunction and returns a new ThrowableFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorizeThrowable(ThrowableQuadFunction<T, U, V, W, R, X>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given ThrowableQuadFunction and returns a new ThrowableQuadFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
memorizeThrowable(ThrowableSupplier<T, X>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given ThrowableSupplier and returns a new ThrowableSupplier that caches the result of the first call.
memorizeThrowable(ThrowableTriFunction<T, U, V, R, X>) - Static method in class net.luis.utils.function.FunctionUtils
Memorizes the given ThrowableTriFunction and returns a new ThrowableTriFunction that caches the result for each input.
The cache is weakly referenced, so it will be cleared when the input is no longer reachable.
Be aware that this may lead to memory leaks if the input is not properly managed.
merge(JsonElement, JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
merge(XmlElement, XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
merge(T, Result<T>) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Merges the given value with the current value.
This is an overloaded method to handle the value as a Result.
If the given value is a success, the value will be merged.
If the given value is an error, the value will not be merged and an error result will be returned.
The logic is specific to the type this provider is for.
merge(T, T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Merges the given value with the current value.
The logic is specific to the type this provider is for.
mergeArray(XmlElements, XmlElements) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Merges two arrays of xml elements.
The elements of the current and value arrays are copied with the same name.
The copied elements are then added to a new array.
mergeObject(XmlElements, XmlElements) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Merges two objects of xml elements.
The elements of the current and value objects are moved to a new object.
mergeUndefined(XmlElements, XmlElements) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Merges two undefined containers of xml elements.
The elements of the current and value containers are moved to a new container.
Method() - Constructor for enum class net.luis.utils.annotation.type.Singleton.Method
 
METHOD - Enum constant in enum class net.luis.utils.annotation.type.Singleton.Method
The instance of the singleton class can be obtained by calling the static method getInstance().
methods() - Element in annotation interface net.luis.utils.annotation.type.Observable
Returns the methods that are used to add remove listeners.
The methods which are returned by this method must be public and non-static.
They must have exactly one parameter of the type that is returned by Observable.value().
The methods can include wildcard characters or regular expressions.
min - Variable in class net.luis.utils.util.Range
The minimum value of the range.
min(double...) - Static method in class net.luis.utils.math.Mth
Returns the minimum of the given double values.
If the given array is null or empty, Double.MAX_VALUE will be returned.
min(int...) - Static method in class net.luis.utils.math.Mth
Returns the minimum of the given integer values.
If the given array is null or empty, Integer.MAX_VALUE will be returned.
min(long...) - Static method in class net.luis.utils.math.Mth
Returns the minimum of the given long values.
If the given array is null or empty, Long.MAX_VALUE will be returned.
minInclusive - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The minimum value of the range (inclusive).
minOccurrences - Variable in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
The field for the minOccurrences record component.
minOccurrences() - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Returns the value of the minOccurrences record component.
minor - Variable in class net.luis.utils.util.Version.Builder
The minor version number.
minor - Variable in class net.luis.utils.util.Version
The minor version number.
minSize - Variable in class net.luis.utils.io.codec.struct.ListCodec
The minimum size of the list (inclusive).
minSize - Variable in class net.luis.utils.io.codec.struct.MapCodec
The minimum size of the map (inclusive).
minValue - Variable in enum class net.luis.utils.math.NumberType
The minimum value of the number type.
Null if the number type is infinite (big integer or big decimal).
MockObject - Annotation Interface in net.luis.utils.annotation.type
This annotation is used to mark a class as a mock object.
Mock objects are used to simulate real objects in tests.
They are used to test the behavior of other objects.
Mode() - Constructor for enum class net.luis.utils.util.unsafe.classpath.ClassPathUtils.Mode
 
ModificationException - Exception Class in net.luis.utils.exception
Thrown when a method is called on an object which will modify it,
but the object is not modifiable at the moment or at all.
ModificationException() - Constructor for exception class net.luis.utils.exception.ModificationException
Constructs a new modification exception with no details.
ModificationException(String) - Constructor for exception class net.luis.utils.exception.ModificationException
Constructs a new modification exception with the specified message.
ModificationException(String, Throwable) - Constructor for exception class net.luis.utils.exception.ModificationException
Constructs a new modification exception with the specified message and cause.
ModificationException(Throwable) - Constructor for exception class net.luis.utils.exception.ModificationException
Constructs a new modification exception with the specified cause.
modifyPath(String) - Method in class net.luis.utils.resources.ExternalResourceLocation
 
modifyPath(String) - Method in class net.luis.utils.resources.InternalResourceLocation
 
modifyPath(String) - Method in class net.luis.utils.resources.ResourceLocation
Modifies the path of the resource on construction.
move(double) - Method in class net.luis.utils.util.Range
Moves the range by the specified value.
The minimum and maximum value are both increased by the specified value.
Mth - Class in net.luis.utils.math
Utility class for math operations.
Mth() - Constructor for class net.luis.utils.math.Mth
Private constructor to prevent instantiation.
This is a static helper class.
MutableEntry<K,V> - Class in net.luis.utils.collection.util
A mutable implementation of the Map.Entry interface.
MutableEntry(K, V) - Constructor for class net.luis.utils.collection.util.MutableEntry
Constructs a new mutable entry with the specified key and value.

N

name - Variable in class net.luis.utils.io.codec.NamedCodec
The name of the value.
name - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The name of the underlying range type.
name - Variable in class net.luis.utils.io.data.xml.XmlAttribute
The name of the attribute.
name - Variable in class net.luis.utils.io.data.xml.XmlElement
The name of the xml element.
name - Variable in record class net.luis.utils.lang.EnumConstant
The field for the name record component.
name - Variable in record class net.luis.utils.util.Priority
The field for the name record component.
name() - Method in record class net.luis.utils.lang.EnumConstant
Returns the value of the name record component.
name() - Method in interface net.luis.utils.lang.EnumLike
Returns the name of the given enum-like constant.
name() - Method in record class net.luis.utils.util.Priority
Returns the value of the name record component.
named(String, String...) - Method in interface net.luis.utils.io.codec.Codec
Creates a new named codec with the current codec using the given name and aliases.
NamedCodec<C> - Class in net.luis.utils.io.codec
A codec for encoding and decoding named values.
This codec uses another codec to encode and decode the value.
NamedCodec(Codec<C>, String, String...) - Constructor for class net.luis.utils.io.codec.NamedCodec
Constructs a new named codec using the given codec and name for the value.
NAMES - Static variable in class net.luis.utils.logging.LoggerConfiguration
The names of the log levels used in the default patterns.
nameSet() - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns an unmodifiable set of all attribute names in this collection.
nameSet() - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns an unmodifiable set of the names of the elements in this container.
nameSet() - Method in class net.luis.utils.io.data.xml.XmlElements
Returns an unmodifiable set of all element names in the collection.
negative() - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that only accepts negative numbers.
negativeOrZero() - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that accepts negative numbers and zero.
net.luis.utils - module net.luis.utils
Module for the LUtils library.
net.luis.utils.annotation - package net.luis.utils.annotation
 
net.luis.utils.annotation.type - package net.luis.utils.annotation.type
 
net.luis.utils.collection - package net.luis.utils.collection
 
net.luis.utils.collection.util - package net.luis.utils.collection.util
 
net.luis.utils.exception - package net.luis.utils.exception
 
net.luis.utils.function - package net.luis.utils.function
 
net.luis.utils.function.throwable - package net.luis.utils.function.throwable
 
net.luis.utils.io - package net.luis.utils.io
 
net.luis.utils.io.codec - package net.luis.utils.io.codec
 
net.luis.utils.io.codec.decoder - package net.luis.utils.io.codec.decoder
 
net.luis.utils.io.codec.encoder - package net.luis.utils.io.codec.encoder
 
net.luis.utils.io.codec.group.function - package net.luis.utils.io.codec.group.function
 
net.luis.utils.io.codec.group.grouper - package net.luis.utils.io.codec.group.grouper
 
net.luis.utils.io.codec.provider - package net.luis.utils.io.codec.provider
 
net.luis.utils.io.codec.struct - package net.luis.utils.io.codec.struct
 
net.luis.utils.io.data - package net.luis.utils.io.data
 
net.luis.utils.io.data.config - package net.luis.utils.io.data.config
 
net.luis.utils.io.data.json - package net.luis.utils.io.data.json
 
net.luis.utils.io.data.json.exception - package net.luis.utils.io.data.json.exception
 
net.luis.utils.io.data.property - package net.luis.utils.io.data.property
 
net.luis.utils.io.data.property.exception - package net.luis.utils.io.data.property.exception
 
net.luis.utils.io.data.xml - package net.luis.utils.io.data.xml
 
net.luis.utils.io.data.xml.exception - package net.luis.utils.io.data.xml.exception
 
net.luis.utils.io.exception - package net.luis.utils.io.exception
 
net.luis.utils.io.reader - package net.luis.utils.io.reader
 
net.luis.utils.io.token - package net.luis.utils.io.token
 
net.luis.utils.io.token.definition - package net.luis.utils.io.token.definition
 
net.luis.utils.io.token.rule - package net.luis.utils.io.token.rule
 
net.luis.utils.io.token.rule.actions - package net.luis.utils.io.token.rule.actions
 
net.luis.utils.io.token.rule.rules - package net.luis.utils.io.token.rule.rules
 
net.luis.utils.io.token.tokens - package net.luis.utils.io.token.tokens
 
net.luis.utils.lang - package net.luis.utils.lang
 
net.luis.utils.logging - package net.luis.utils.logging
 
net.luis.utils.logging.factory - package net.luis.utils.logging.factory
 
net.luis.utils.math - package net.luis.utils.math
 
net.luis.utils.math.algorithm - package net.luis.utils.math.algorithm
 
net.luis.utils.resources - package net.luis.utils.resources
 
net.luis.utils.util - package net.luis.utils.util
 
net.luis.utils.util.getter - package net.luis.utils.util.getter
 
net.luis.utils.util.unsafe - package net.luis.utils.util.unsafe
 
net.luis.utils.util.unsafe.classpath - package net.luis.utils.util.unsafe.classpath
 
net.luis.utils.util.unsafe.reflection - package net.luis.utils.util.unsafe.reflection
 
newInstance(Class<T>, Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Creates a new instance from the given class and parameters.
newInstance(Constructor<T>, Object...) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Creates a new instance from the given constructor and parameters.
Exceptions will not be logged or thrown by default.
newLine() - Method in class net.luis.utils.io.token.TokenReader.PositionTracker
Counts a new line in the input string.
It increments the position and character index, and resets the character in line index to 0.
next() - Method in class net.luis.utils.collection.WeightCollection
Gets an element from the collection based on the weight of the elements.
Elements with a higher weight have a higher chance to be returned.
noneEmptyList() - Method in interface net.luis.utils.io.codec.Codec
Creates a new list codec uses the current codec as element codec for the list codec for non-empty lists.
The list must not be empty after encoding and decoding.
noneEmptyList(Codec<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new list codec for the given codec for non-empty lists.
The list must not be empty after encoding and decoding.
noneEmptyMap(KeyableCodec<K>, Codec<V>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new map codec with the given key codec and value codec for non-empty maps.
The map must not be empty after encoding and decoding.
noneEmptyString() - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable string codec for non-empty strings.
The string must not be empty after encoding and decoding.
NORMAL - Static variable in record class net.luis.utils.util.Priority
A normal priority with the value of 0.
NoSuchItemException - Exception Class in net.luis.utils.exception
Thrown when a requested item does not exist in a collection like object.
Library equivalent of NoSuchElementException.
NoSuchItemException() - Constructor for exception class net.luis.utils.exception.NoSuchItemException
Constructs a new no such item exception with no details.
NoSuchItemException(String) - Constructor for exception class net.luis.utils.exception.NoSuchItemException
Constructs a new no such item exception with the specified message.
NoSuchItemException(String, Throwable) - Constructor for exception class net.luis.utils.exception.NoSuchItemException
Constructs a new no such item exception with the specified message and cause.
NoSuchItemException(Throwable) - Constructor for exception class net.luis.utils.exception.NoSuchItemException
Constructs a new no such item exception with the specified cause.
NoSuchJsonElementException - Exception Class in net.luis.utils.io.data.json.exception
Thrown to indicate that a json element does not exist.
The exception message will contain the details of the missing element.
NoSuchJsonElementException() - Constructor for exception class net.luis.utils.io.data.json.exception.NoSuchJsonElementException
Constructs a new no such json element exception with no details.
NoSuchJsonElementException(String) - Constructor for exception class net.luis.utils.io.data.json.exception.NoSuchJsonElementException
Constructs a new no such json element exception with the specified message.
NoSuchJsonElementException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.NoSuchJsonElementException
Constructs a new no such json element exception with the specified message and cause.
NoSuchJsonElementException(Throwable) - Constructor for exception class net.luis.utils.io.data.json.exception.NoSuchJsonElementException
Constructs a new no such json element exception with the specified cause.
NoSuchXmlAttributeException - Exception Class in net.luis.utils.io.data.xml.exception
Thrown to indicate that a xml attribute does not exist.
The exception message will contain the details of the missing element.
NoSuchXmlAttributeException() - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlAttributeException
Constructs a new no such xml attribute exception with no details.
NoSuchXmlAttributeException(String) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlAttributeException
Constructs a new no such xml attribute exception with the specified message.
NoSuchXmlAttributeException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlAttributeException
Constructs a new no such xml attribute exception with the specified message and cause.
NoSuchXmlAttributeException(Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlAttributeException
Constructs a new no such xml attribute exception with the specified cause.
NoSuchXmlElementException - Exception Class in net.luis.utils.io.data.xml.exception
Thrown to indicate that a xml element does not exist.
The exception message will contain the details of the missing element.
NoSuchXmlElementException() - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlElementException
Constructs a new no such xml element exception with no details.
NoSuchXmlElementException(String) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlElementException
Constructs a new no such xml element exception with the specified message.
NoSuchXmlElementException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlElementException
Constructs a new no such xml element exception with the specified message and cause.
NoSuchXmlElementException(Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.NoSuchXmlElementException
Constructs a new no such xml element exception with the specified cause.
NOT_POSSIBLE - Enum constant in enum class net.luis.utils.annotation.type.Singleton.Method
The instance of the singleton class can be not obtained.
NotInitializedException - Exception Class in net.luis.utils.exception
Thrown when an access or action is attempted on an object that has not been initialized
but requires initialization before it can be used.
NotInitializedException() - Constructor for exception class net.luis.utils.exception.NotInitializedException
Constructs a new not initialized exception with no details.
NotInitializedException(String) - Constructor for exception class net.luis.utils.exception.NotInitializedException
Constructs a new not initialized exception with the specified message.
NotInitializedException(String, Throwable) - Constructor for exception class net.luis.utils.exception.NotInitializedException
Constructs a new not initialized exception with the specified message and cause.
NotInitializedException(Throwable) - Constructor for exception class net.luis.utils.exception.NotInitializedException
Constructs a new not initialized exception with the specified cause.
numberClass - Variable in enum class net.luis.utils.math.NumberType
The java number class that this type represents.
NumberType - Enum Class in net.luis.utils.math
Represents a type of number that can be parsed from a string.
This enum contains the java default number types and their respective parsers.
NumberType(Class<? extends Number>, int, Number, Number, boolean, char, Set<Radix>, BiFunction<String, Radix, ? extends Number>) - Constructor for enum class net.luis.utils.math.NumberType
Constructs a new number type with the given parameters.

O

object - Variable in class net.luis.utils.util.LazyInitialization
The object to be initialized.
Observable - Annotation Interface in net.luis.utils.annotation.type
Types that are annotated with this annotation are observable.
This means that there are methods that can be called to add and remove listeners.
The annotated type might be associated with an event system.
OCTAL - Enum constant in enum class net.luis.utils.math.Radix
Represents the octal radix (base 8) with the prefix 0.
of(char) - Static method in interface net.luis.utils.io.token.definition.TokenDefinition
Creates a new token definition for a single character.
of(char, char) - Static method in class net.luis.utils.util.Range
Creates a new range with the specified minimum and maximum value.
The characters are converted to their respective double values.
of(double) - Static method in class net.luis.utils.util.Chance
Creates a new chance with the given chance.
of(double) - Static method in class net.luis.utils.util.Range
Creates a new range with the specified maximum value.
The minimum value is set to 0.
of(double, double) - Static method in class net.luis.utils.util.Range
Creates a new range with the specified minimum and maximum value.
of(int, int) - Static method in class net.luis.utils.util.Version
Creates a new version with the given version numbers.
The version numbers will be clamped to a minimum of 0.
of(int, int, int) - Static method in class net.luis.utils.util.Version
Creates a new version with the given version numbers.
The version numbers will be clamped to a minimum of 0.
of(String, boolean) - Static method in interface net.luis.utils.io.token.definition.TokenDefinition
Creates a new token definition for a string.
of(String, String) - Static method in class net.luis.utils.io.data.property.Property
Creates a new property with the given key and value.
of(Decoder<C>, Function<String, C>) - Static method in interface net.luis.utils.io.codec.decoder.KeyableDecoder
Creates a new keyable decoder from the specified decoder and key decoder.
The key decoder function converts a key to a value.
If the key decoder is not able to handle a key, it can simply return null.
of(Encoder<C>, Function<C, String>) - Static method in interface net.luis.utils.io.codec.encoder.KeyableEncoder
Creates a new keyable encoder from the specified encoder and key encoder.
The key encoder function converts a key to a string.
If the key encoder is not able to handle a key, it can simply return null.
of(Encoder<C>, Decoder<C>, String) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new codec from the given encoder and decoder with the given name.
of(T, U) - Static method in class net.luis.utils.util.Pair
Creates a new pair with the specified first and second value.
ofEscaped(char) - Static method in interface net.luis.utils.io.token.definition.TokenDefinition
Creates a new escaped token definition for a single character.
ONE - Static variable in class net.luis.utils.util.Chance
A constant value for a chance of 1.0.
open - Variable in record class net.luis.utils.io.reader.StringScope
The field for the open record component.
open() - Method in record class net.luis.utils.io.reader.StringScope
Returns the value of the open record component.
optional() - Method in interface net.luis.utils.io.codec.Codec
Wraps the current codec into a new optional codec.
optional() - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule optional by wrapping it in an OptionalTokenRule.
optional(Codec<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new optional codec for the given codec.
optional(TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates an optional token rule with the given token rule.
OptionalCodec<C> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding optional values.
This codec uses another codec to encode and decode the optional value.
OptionalCodec(Codec<C>) - Constructor for class net.luis.utils.io.codec.struct.OptionalCodec
Constructs a new optional codec using the given codec for the optional value.
Do not use this constructor directly, use the optional factory methods in Codec instead.
OptionalTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches optionally a single token rule.
This rule is useful for creating optional matching logic.
It will match the token rule if it is present, otherwise it will return an empty match.
OptionalTokenRule(TokenRule) - Constructor for record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
Constructs a new optional token rule with the given token rule.
ordinal - Variable in record class net.luis.utils.lang.EnumConstant
The field for the ordinal record component.
ordinal() - Method in record class net.luis.utils.lang.EnumConstant
Returns the value of the ordinal record component.
ordinal() - Method in interface net.luis.utils.lang.EnumLike
Returns the ordinal of the given enum-like constant.
orElse(C) - Method in interface net.luis.utils.io.codec.Codec
Creates a new codec that will return the given default value in an error case during decoding.
orElse(Optional<C>) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
orElse(T) - Method in class net.luis.utils.util.Result
Gets the result of the operation or the specified default value.
This is useful for providing a fallback value if the operation fails.
This method is equivalent to Result.orElseGet(Supplier) with a constant supplier.
orElseFlat(C) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
Returns a new codec that is not optional.
The new codec will use the given default value if the optional value is empty.
orElseGet(Supplier<? extends T>) - Method in class net.luis.utils.util.Result
Gets the result of the operation or the result of the specified supplier.
This is useful for providing a fallback value if the operation fails.
orElseGet(Supplier<C>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new codec that will return the value provided by the given supplier in an error case during decoding.
orElseGet(Supplier<Optional<C>>) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
orElseGetFlat(Supplier<C>) - Method in class net.luis.utils.io.codec.struct.OptionalCodec
Returns a new codec that is not optional.
The new codec will use the default value provided by the given supplier if the optional value is empty.
orThrow() - Method in class net.luis.utils.util.Result
Gets the result of the operation or throws an exception.
orThrow(Function<String, ? extends X>) - Method in class net.luis.utils.util.Result
Gets the result of the operation or throws the specified exception.
OutputProvider - Class in net.luis.utils.io.data
Output provider for writing data to a file or stream.
This class provides several constructors for different types of output sources.
OutputProvider(File) - Constructor for class net.luis.utils.io.data.OutputProvider
Constructs a new output provider for the given file.
OutputProvider(OutputStream) - Constructor for class net.luis.utils.io.data.OutputProvider
Constructs a new output provider for the given output stream.
OutputProvider(String) - Constructor for class net.luis.utils.io.data.OutputProvider
Constructs a new output provider for the given file.
OutputProvider(String, String) - Constructor for class net.luis.utils.io.data.OutputProvider
Constructs a new output provider for the given path and file name.
The path and file name are concatenated to a file.
OutputProvider(Path) - Constructor for class net.luis.utils.io.data.OutputProvider
Constructs a new output provider for the given path.
overrideConsolePattern(Level, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the console pattern for the given level.
overrideDebugLog(String, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the pattern for the log file and the archived log file for log level Level.DEBUG.
If the root directory is not set, the default root directory ('./') is used.
If the root directory has been set, the given file and archive will be appended to the root directory.
The file and archive must not be absolute or relative.
The log file will be built as follows: rootDirectory + (file|archive + "." + archive_type)
Default patterns can be found in LoggerConfiguration.logs.
overrideErrorLog(String, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the pattern for the log file and the archived log file for log level Level.ERROR.
If the root directory is not set, the default root directory ('./') is used.
If the root directory has been set, the given file and archive will be appended to the root directory.
The file and archive must not be absolute or relative.
The log file will be built as follows: rootDirectory + (file|archive + "." + archive_type)
Default patterns can be found in LoggerConfiguration.logs.
overrideFilePattern(Level, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the file pattern for the given level.
overrideInfoLog(String, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the pattern for the log file and the archived log file for log level Level.INFO.
If the root directory is not set, the default root directory ('./') is used.
If the root directory has been set, the given file and archive will be appended to the root directory.
The file and archive must not be absolute or relative.
The log file will be built as follows: rootDirectory + (file|archive + "." + archive_type)
Default patterns can be found in LoggerConfiguration.logs.
overrideLog(Level, String, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the pattern for the log file and the archived log file for the given log level.
If the root directory is not set, the default root directory ('./') is used.
If the root directory has been set, the given file and archive will be appended to the root directory.
The file and archive must not be absolute or relative.
The log file will be built as follows: rootDirectory + (file|archive + "." + archive_type)
Default patterns can be found in LoggerConfiguration.logs.
overridePattern(LoggingType, Level, String) - Method in class net.luis.utils.logging.LoggerConfiguration
Overrides the pattern for the given logging type and level.
Default patterns can be found in LoggerConfiguration.DEFAULT_PATTERNS.

P

Pair<F,S> - Class in net.luis.utils.util
Tuple like class that holds two values of different types.
Pair(F, S) - Constructor for class net.luis.utils.util.Pair
Constructs a new pair with the specified first and second value.
PARENTHESES - Static variable in record class net.luis.utils.io.reader.StringScope
Constant string scope for parentheses.
parse(String) - Static method in class net.luis.utils.util.Chance
Parses a chance from a string.
parse(String) - Static method in class net.luis.utils.util.Range
Parses the specified string to a range.
The string must be in the format of [min..max].
parse(String) - Static method in class net.luis.utils.util.Version
Parses a version from a string.
ParsedNumber(char, String, NumberType, Radix) - Constructor for record class net.luis.utils.io.reader.StringReader.ParsedNumber
Constructs a new parsed number.
parseHexToBigDecimal(String) - Static method in class net.luis.utils.math.Mth
Parses the given hexadecimal string to a big decimal.
parseLine(String) - Method in class net.luis.utils.io.data.property.PropertyReader
Parses the given line and returns the properties that have been read.
If the line is empty or a comment, an empty list will be returned.
In the case of an error, the error action of the configuration will be executed.
parseNumber(String, Radix) - Method in enum class net.luis.utils.math.NumberType
Parses the given value to a number of this type based on the radix.
This method parses the value in soft mode and will handle invalid cases gracefully.
The following rules apply:
If the value is null or empty, it will be parsed as 0 If the radix is null, then the radix will be determined based on the value If the value contains a type suffix, it will be removed If the value contains a radix prefix, it will be removed
parseNumberStrict(String, Radix) - Method in enum class net.luis.utils.math.NumberType
Parses the given value to a number of this type based on the radix.
This method parses the value strictly and will throw an exception if the value is invalid.
parseProperty(String, String) - Method in class net.luis.utils.io.data.property.PropertyReader
Parses the given key and value and returns the properties that have been read.
If advanced parsing is enabled, the key can be a compacted or variable key.
parsePropertySimple(String, String) - Method in class net.luis.utils.io.data.property.PropertyReader
Parses the given key and value and returns a property.
The key and value will be checked against the configuration.
parser - Variable in enum class net.luis.utils.math.NumberType
The parser function that converts a string to a number of this type based on the radix.
patch - Variable in class net.luis.utils.util.Version.Builder
The patch or fix version number.
patch - Variable in class net.luis.utils.util.Version
The patch or fix version number.
path - Variable in class net.luis.utils.resources.ExternalResourceLocation
The resource as a path.
path - Variable in class net.luis.utils.resources.ResourceLocation
The path of the resource.
PATH - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes paths.
The underlying path is converted to and from a string.
PATH_PATTERN - Static variable in class net.luis.utils.logging.LoggerConfiguration
Regex to check if the file is absolute or relative.
pattern - Variable in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
The field for the pattern record component.
pattern() - Method in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Returns the value of the pattern record component.
pattern(String) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a pattern token rule with the given pattern in string format.
pattern(Pattern) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a pattern token rule with the given pattern.
patternOverrides - Variable in class net.luis.utils.logging.LoggerConfiguration
The pattern overrides for the logging types and levels.
PatternTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches the value of a single token against a regular expression pattern.
This rule is useful for creating complex matching logic by using regular expressions.
It will match the token if its value matches the pattern, otherwise it will return null.
PatternTokenRule(String) - Constructor for record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Constructs a new pattern token rule from the given pattern in string format.
PatternTokenRule(Pattern) - Constructor for record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Constructs a new pattern token rule from the given pattern.
peek() - Method in class net.luis.utils.io.reader.StringReader
Peeks the current character without incrementing the index.
position - Variable in class net.luis.utils.io.token.TokenReader.PositionTracker
The index of the current character in the input string.
PositionTracker() - Constructor for class net.luis.utils.io.token.TokenReader.PositionTracker
 
positive() - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that only accepts positive numbers.
positiveOrZero() - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that accepts positive numbers and zero.
prefix - Variable in enum class net.luis.utils.math.Radix
The prefix for the radix used in string conversion.
prefixToken - Variable in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
The field for the prefixToken record component.
prefixToken() - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Returns the value of the prefixToken record component.
prettyPrint - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the prettyPrint record component.
prettyPrint - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the prettyPrint record component.
prettyPrint() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the prettyPrint record component.
prettyPrint() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the prettyPrint record component.
priority - Variable in record class net.luis.utils.util.Priority
The field for the priority record component.
priority() - Method in record class net.luis.utils.util.Priority
Returns the value of the priority record component.
Priority - Record Class in net.luis.utils.util
A record that represents a priority.
Priority(String, long) - Constructor for record class net.luis.utils.util.Priority
Constructs a new priority with the given name and priority value.
process(List<Token>) - Method in class net.luis.utils.io.token.rule.TokenRuleEngine
Processes the given list of tokens using the defined rules.
The rules are applied in the order they were added.
If a rule matches, the matched tokens are replaced with the result of the action.
If no rule matches, the engine moves to the next token.
properties - Variable in class net.luis.utils.io.data.property.Properties
The internal map of properties.
For performance reasons, the properties are stored with their keys as the map key.
properties - Variable in class net.luis.utils.io.data.property.PropertyReader
A cache for all properties that have been read.
Properties - Class in net.luis.utils.io.data.property
Represents a collection of properties.
This class is immutable and is used for reading properties only.
Properties(List<Property>) - Constructor for class net.luis.utils.io.data.property.Properties
Constructs a new properties instance from a list of properties.
Properties(Map<String, Property>) - Constructor for class net.luis.utils.io.data.property.Properties
Constructs a new properties instance from a map of properties
Property - Class in net.luis.utils.io.data.property
Represents a property with a key and a value.
The key and the value are both strings.
The value can be parsed to different types using the methods provided by this class.
Property(String, String) - Constructor for class net.luis.utils.io.data.property.Property
Constructs a new property with the given key and value.
PROPERTY_PATTERN - Static variable in class net.luis.utils.logging.LoggingHelper
The pattern to match a property in the format 'key=value'.
PropertyConfig - Record Class in net.luis.utils.io.data.property
Configuration for reading and writing properties.
PropertyConfig(char, int, Set<Character>, Pattern, Pattern, boolean, Charset) - Constructor for record class net.luis.utils.io.data.property.PropertyConfig
Constructs a new property configuration.
PropertyReader - Class in net.luis.utils.io.data.property
Represents a reader for properties.
This reader reads the properties from a defined input and returns them as a properties object.
The base format of the properties is a key-value pair separated by a separator:
PropertyReader(InputProvider) - Constructor for class net.luis.utils.io.data.property.PropertyReader
Constructs a new property reader with the given input and the default configuration.
PropertyReader(InputProvider, PropertyConfig) - Constructor for class net.luis.utils.io.data.property.PropertyReader
Constructs a new property reader with the given input and configuration.
PropertySyntaxException - Exception Class in net.luis.utils.io.data.property.exception
Thrown to indicate that the syntax of a property string is invalid.
The exception message will contain the details of the syntax error.
PropertySyntaxException() - Constructor for exception class net.luis.utils.io.data.property.exception.PropertySyntaxException
Constructs a new property syntax exception with no details.
PropertySyntaxException(String) - Constructor for exception class net.luis.utils.io.data.property.exception.PropertySyntaxException
Constructs a new property syntax exception with the specified message.
PropertySyntaxException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.property.exception.PropertySyntaxException
Constructs a new property syntax exception with the specified message and cause.
PropertySyntaxException(Throwable) - Constructor for exception class net.luis.utils.io.data.property.exception.PropertySyntaxException
Constructs a new property syntax exception with the specified cause.
PropertyWriter - Class in net.luis.utils.io.data.property
Represents a writer for properties.
PropertyWriter(OutputProvider) - Constructor for class net.luis.utils.io.data.property.PropertyWriter
Constructs a new property writer for the given output with the default property configuration.
PropertyWriter(OutputProvider, PropertyConfig) - Constructor for class net.luis.utils.io.data.property.PropertyWriter
Constructs a new property writer for the given output with the given property configuration.

Q

QuadConsumer<T,U,V,W> - Interface in net.luis.utils.function
Functional interface that takes four arguments and consumes them.
The FunctionalInterface method is QuadConsumer.accept(Object, Object, Object, Object).
QuadFunction<T,U,V,W,R> - Interface in net.luis.utils.function
Functional interface that takes four arguments and returns a value.
The FunctionalInterface method is QuadFunction.apply(Object, Object, Object, Object).
quotient - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The current quotient of the EEA.

R

radix - Variable in record class net.luis.utils.io.reader.StringReader.ParsedNumber
The field for the radix record component.
radix - Variable in enum class net.luis.utils.math.Radix
The radix value.
radix() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns the value of the radix record component.
Radix - Enum Class in net.luis.utils.math
Represents a radix for number conversion.
The radix is the base of a number system.
This class represents the most common radices used in computer science:
Binary (base 2) Octal (base 8) Decimal (base 10) Hexadecimal (base 16)
Radix(int, String) - Constructor for enum class net.luis.utils.math.Radix
Constructs a new radix with the given radix value and prefix.
randomExclusiveInt(Random, int, int) - Static method in class net.luis.utils.math.Mth
Returns a random integer between min (exclusive) and max (exclusive).
The value will be greater than min and less than max (min < value < max).
randomInclusiveInt(Random, int, int) - Static method in class net.luis.utils.math.Mth
Returns a random integer between min (inclusive) and max (inclusive).
The value will be greater than or equal to min and less than or equal to max (min ≤ value ≤ max).
randomInt(Random, int, int) - Static method in class net.luis.utils.math.Mth
Returns a random integer between min (inclusive) and max (exclusive).
The value will be greater than or equal to min and less than max (min ≤ value < max).
range(C, C) - Method in class net.luis.utils.io.codec.struct.RangeCodec
Returns a new range codec that only accepts numbers in the given range (inclusive).
Range - Class in net.luis.utils.util
Represents a range of values between a minimum and maximum value (inclusive).
Range(double, double) - Constructor for class net.luis.utils.util.Range
Constructs a new range with the specified minimum and maximum value.
RangeCodec<C> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding number values of a certain range.
This codec uses a converter to convert between numbers and the range type.
The codec can be configured by the following methods:
RangeCodec.positive() to only accept positive numbers RangeCodec.positiveOrZero() to accept positive numbers and zero RangeCodec.negative() to only accept negative numbers RangeCodec.negativeOrZero() to accept negative numbers and zero RangeCodec.atLeast(Number) to only accept numbers greater or equal to the given number RangeCodec.atMost(Number) to only accept numbers smaller or equal to the given number RangeCodec.range(Number, Number) to only accept numbers in the given range (inclusive)
RangeCodec(String, C, C, Function<Number, C>, Function<C, String>, Function<String, C>) - Constructor for class net.luis.utils.io.codec.struct.RangeCodec
Constructs a new range codec using the given name, minimum and maximum value, converter, encoder and decoder.
RangeCodec(String, C, C, Function<Number, C>, Function<String, C>) - Constructor for class net.luis.utils.io.codec.struct.RangeCodec
Constructs a new range codec using the given name, minimum and maximum value, converter and decoder.
read() - Method in class net.luis.utils.io.reader.StringReader
Reads the next character from the string.
read(int) - Method in class net.luis.utils.io.reader.StringReader
Reads the given number of characters from the string.
readBigDecimal() - Method in class net.luis.utils.io.reader.StringReader
Reads a big decimal.
readBigInteger() - Method in class net.luis.utils.io.reader.StringReader
Reads a big integer.
readBoolean() - Method in class net.luis.utils.io.reader.StringReader
Reads a boolean.
The boolean is read as an unquoted string and then parsed case-insensitive.
readByte() - Method in class net.luis.utils.io.reader.StringReader
Reads a byte.
The number can be suffixed with a b (case-insensitive) to indicate that it is a byte.
readCollection(StringScope, Function<ScopedStringReader, T>) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads a collection like object from the string.
readDeclaration - Variable in class net.luis.utils.io.data.xml.XmlReader
A flag to indicate if the xml declaration has been read.
readDeclaration() - Method in class net.luis.utils.io.data.xml.XmlReader
Reads the xml declaration from the xml content.
readDouble() - Method in class net.luis.utils.io.reader.StringReader
Reads a double.
The number can be suffixed with a d (case-insensitive) to indicate that it is a double.
reader - Variable in class net.luis.utils.io.data.json.JsonReader
The internal reader used to read the json content.
reader - Variable in class net.luis.utils.io.data.property.PropertyReader
The internal io reader to read the properties.
reader - Variable in class net.luis.utils.io.data.xml.XmlReader
The internal reader used to read the xml content.
readeXmlElements(ScopedStringReader) - Method in class net.luis.utils.io.data.xml.XmlReader
Reads the xml elements from the given xml reader.
readExpected(String, boolean) - Method in class net.luis.utils.io.reader.StringReader
Reads the given expected string from the reader.
If any read character does not match the expected character, an exception is thrown.
readExpected(List<String>, boolean) - Method in class net.luis.utils.io.reader.StringReader
Reads the first matching expected string from the reader.
readFloat() - Method in class net.luis.utils.io.reader.StringReader
Reads a float.
The number can be suffixed with an f (case-insensitive) to indicate that it is a float.
readInt() - Method in class net.luis.utils.io.reader.StringReader
Reads an integer.
The number can be suffixed with an i (case-insensitive) to indicate that it is an integer.
readJson() - Method in class net.luis.utils.io.data.json.JsonReader
Reads the next json element from the input.
readJsonArray() - Method in class net.luis.utils.io.data.json.JsonReader
Reads a json array from the underlying reader.
The json array is expected to be formatted as follows:
Empty array: [] Array with one element: ["value"] Array with multiple elements: ["value1", "value2", "value3"]
readJsonBoolean() - Method in class net.luis.utils.io.data.json.JsonReader
Reads a json boolean value from the underlying reader.
The reader expects the next four or five characters to be 'true' or 'false'.
readJsonElement() - Method in class net.luis.utils.io.data.json.JsonReader
Reads the next json element from the input.
Supported json elements are objects, arrays, primitives and null values.
readJsonNull() - Method in class net.luis.utils.io.data.json.JsonReader
Reads a json null value from the underlying reader.
The reader expects the next four characters to be 'null'.
readJsonObject() - Method in class net.luis.utils.io.data.json.JsonReader
Reads a json object from the underlying reader
The json object is expected to be formatted as follows:
Empty object: {} Object with one entry: {"key": "value"} Object with multiple entries: {"key1": "value1", "key2": "value2", "key3": "value3"}'/li>
readJsonValue() - Method in class net.luis.utils.io.data.json.JsonReader
Reads a json value from the underlying reader.
A json value can be either a string, number, boolean or null.
readLine(boolean) - Method in class net.luis.utils.io.reader.StringReader
Reads all characters until the next line break is found.
Supported line breaks are: LF ('\n'), CR ('\r'), CRLF ('\r\n').
readList(Function<ScopedStringReader, T>) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads a list from the string.
The list is defined by square brackets.
readLong() - Method in class net.luis.utils.io.reader.StringReader
Reads a long.
The number can be suffixed with an l (case-insensitive) to indicate that it is a long.
readMap(Function<ScopedStringReader, K>, Function<ScopedStringReader, V>) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads a map from the string.
The map is defined by curly brackets.
readNumber() - Method in class net.luis.utils.io.reader.StringReader
Reads a number.
If the number is specified with a type suffix, the number is parsed as the specified type.
By default, the number is parsed as a double if it contains a dot otherwise as a long.
readNumberAsString(NumberType) - Method in class net.luis.utils.io.reader.StringReader
Reads a number as a string of the given type.
The initial type is used to determine the type of the number,
it can be overridden by a larger number type (e.g.
ReadOnly - Annotation Interface in net.luis.utils.io.data.config
Annotation for record components of an io configuration.
The annotated record component is used for reading only.
readProperties() - Method in class net.luis.utils.io.data.property.PropertyReader
Reads the properties from the input and returns them as a properties object.
readQuotedString() - Method in class net.luis.utils.io.reader.StringReader
Reads a quoted string.
A quoted string is a string enclosed in single or double quotes.
The quotes are read but not included in the result.
readRemaining() - Method in class net.luis.utils.io.reader.StringReader
Reads the remaining string.
readScope(StringScope) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads a string with the given scope.
readScopeExclude(ScopedStringReader, StringScope) - Static method in class net.luis.utils.io.data.property.PropertyReader
Reads the content of the give scoped string reader and returns it without the scope.
readSet(Function<ScopedStringReader, T>) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads a set from the string.
The set is defined by parentheses.
readShort() - Method in class net.luis.utils.io.reader.StringReader
Reads a short.
The number can be suffixed with an s (case-insensitive) to indicate that it is a short.
readString() - Method in class net.luis.utils.io.reader.StringReader
Reads a string.
readString(Reader) - Static method in class net.luis.utils.io.FileUtils
Reads the content of the given reader as a string.
readString(InputProvider) - Static method in class net.luis.utils.io.FileUtils
Reads the content of the given input provider as a string.
readString(InputProvider, Charset) - Static method in class net.luis.utils.io.FileUtils
Reads the content of the given input provider as a string using the given charset.
readTokens(String) - Method in class net.luis.utils.io.token.TokenReader
Reads tokens from the input string and returns a list of tokens.
It processes the input string, identifies tokens based on the defined token definitions, and handles escape sequences.
readUnquotedString() - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the next whitespace (' ') is found.
The whitespace is read but not included in the result.
readUnquotedString(char) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the given terminator is found.
The string will be read in 'raw' mode, meaning that no escaping is done.
The terminator is read but not included in the result.
readUntil(char) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until the given terminator is found.
The terminator and escape character ('\\') are read but not included in the result.
readUntil(char) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the given terminator is found.
The terminator and escape character ('\\') are read but not included in the result.
readUntil(char...) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until any of the given terminators is found.
The terminators and escape character ('\\') are read but not included in the result.
readUntil(char...) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until any of the given terminators is found.
The terminators and escape character ('\\') are read but not included in the result.
readUntil(String, boolean) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until the given terminator string is found.
The terminator string and escape character ('\\') are read but not included in the result.
readUntil(String, boolean) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the given terminator string is found.
The terminator string and escape character ('\\') are read but not included in the result.
readUntil(String, boolean, boolean) - Method in class net.luis.utils.io.reader.ScopedStringReader
Internal method to read the string until the terminating string is found.
readUntil(String, boolean, boolean) - Method in class net.luis.utils.io.reader.StringReader
Internal method to read the string until the terminating string is found.
readUntil(Predicate<Character>, boolean) - Method in class net.luis.utils.io.reader.ScopedStringReader
Internal method to read the string until the given predicate is true.
readUntil(Predicate<Character>, boolean) - Method in class net.luis.utils.io.reader.StringReader
Internal method to read the string until the given predicate is true.
readUntilInclusive(char) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until the given terminator is found.
The escape character ('\\') is read but not included in the result.
readUntilInclusive(char) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the given terminator is found.
The escape character ('\\') is read but not included in the result.
readUntilInclusive(char...) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until any of the given terminators is found.
The escape character ('\\') is read but not included in the result.
readUntilInclusive(char...) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until any of the given terminators is found.
The escape character ('\\') is read but not included in the result.
readUntilInclusive(String, boolean) - Method in class net.luis.utils.io.reader.ScopedStringReader
Reads the string until the given terminator string is found.
The escape character ('\\') is read but not included in the result.
readUntilInclusive(String, boolean) - Method in class net.luis.utils.io.reader.StringReader
Reads the string until the given terminator string is found.
The escape character ('\\') is read but not included in the result.
readXmlAttributes(StringReader) - Method in class net.luis.utils.io.data.xml.XmlReader
Reads the xml attributes from the given attribute reader.
readXmlElement() - Method in class net.luis.utils.io.data.xml.XmlReader
Reads the xml root element from the xml content.
readXmlElement(ScopedStringReader) - Method in class net.luis.utils.io.data.xml.XmlReader
Reads a xml element from the given xml reader.
reconfigure(LoggerConfiguration) - Static method in class net.luis.utils.logging.LoggingUtils
Reconfigures the logging system with the given configuration.
Allows to change the logging configuration after it was initialized.
REFLECTION_EXCEPTIONS_LOG - Static variable in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Constant for the system property 'reflection.exceptions.log'.
REFLECTION_EXCEPTIONS_THROW - Static variable in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Constant for the system property 'reflection.exceptions.throw'.
If this property is true, exceptions will be thrown when an error occurs.
ReflectionException - Exception Class in net.luis.utils.exception
Thrown when an error occurs during reflection.
ReflectionException() - Constructor for exception class net.luis.utils.exception.ReflectionException
Constructs a new reflection exception with no details.
ReflectionException(String) - Constructor for exception class net.luis.utils.exception.ReflectionException
Constructs a new reflection exception with the specified message.
ReflectionException(String, Throwable) - Constructor for exception class net.luis.utils.exception.ReflectionException
Constructs a new reflection exception with the specified message and cause.
ReflectionException(Throwable) - Constructor for exception class net.luis.utils.exception.ReflectionException
Constructs a new reflection exception with the specified cause.
ReflectionHelper - Class in net.luis.utils.util.unsafe.reflection
Helper class for reflection-related operations.
Provides methods to: check if a class has a constructor, method or field get constructors, methods and fields invoke constructors, methods and fields
ReflectionHelper() - Constructor for class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Private constructor to prevent instantiation.
This is a static helper class.
ReflectionUtils - Class in net.luis.utils.util.unsafe.reflection
Utility class for reflection-related operations.
ReflectionUtils() - Constructor for class net.luis.utils.util.unsafe.reflection.ReflectionUtils
Private constructor to prevent instantiation.
This is a static helper class.
ReflectiveUsage - Annotation Interface in net.luis.utils.annotation
This annotation is used to indicate that the annotated element is used by reflection.
When modifying the annotated element, this may cause an unexpected behavior or an error.
Accessing but not modifying the annotated element is safe.
registeredFactory - Static variable in class net.luis.utils.logging.LoggingUtils
Whether the cached factory has been registered or not.
registerSpringFactory() - Static method in class net.luis.utils.logging.LoggingUtils
Registers the spring logging configuration factory.
The factory will only be registered if the spring boot framework is found.
remainder - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The current remainder of the EEA.
remove(int) - Method in class net.luis.utils.io.data.json.JsonArray
Removes the element at the given index from this json array.
remove(int) - Method in class net.luis.utils.io.data.xml.XmlContainer
Removes the element with the given index from this container.
This method should only be used if the collection is an array.
remove(int) - Method in class net.luis.utils.io.data.xml.XmlElements
Removes the element with the given index from the collection.
This method should only be used if the collection is an array.
remove(Object) - Method in class net.luis.utils.collection.SortedList

The list is sorted after the element is removed.
remove(String) - Method in class net.luis.utils.io.data.json.JsonObject
Removes the element with the given key from this json object.
remove(String) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Removes the attribute with the given name from this collection.
remove(String) - Method in class net.luis.utils.io.data.xml.XmlContainer
Removes the element with the given name from this container.
This method should only be used if the collection is an object.
remove(String) - Method in class net.luis.utils.io.data.xml.XmlElements
Removes the element with the given name from the collection.
This method should only be used if the collection is an object.
remove(JsonElement) - Method in class net.luis.utils.io.data.json.JsonArray
Removes the given json element from this json array.
remove(XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Removes the given attribute from this collection.
remove(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlContainer
Removes the given element from this container.
remove(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlElements
Removes the given element from the collection considering the type.
remove(T) - Method in class net.luis.utils.collection.WeightCollection
Removes the given value from the collection.
removeAlignment(String, int, boolean) - Method in class net.luis.utils.io.data.property.PropertyReader
Removes the alignment from the given string.
If the alignment is 0, the string will be returned as is.
If the alignment is greater than 0, the alignment will be removed from the string.
removeDefaultLogger(LoggingType, Level) - Method in class net.luis.utils.logging.LoggerConfiguration
Removes the default logger for the given type and level.
Removed default loggers will not be automatically enabled at startup.
removeQuoted(String) - Static method in class net.luis.utils.lang.StringUtils
Removes quoted parts from the given string.
removeRadixPrefixes(String, Radix...) - Static method in enum class net.luis.utils.math.NumberType
Removes the radix prefixes from the given value.
This method should only be used for integer numbers.
removeTypeSuffix(String, NumberType, Radix) - Static method in enum class net.luis.utils.math.NumberType
Removes the type suffix from the given value if it is present.
If the radix is hexadecimal, the suffix must be outside the range of 'a' to 'f'.
repeatAtLeast(int) - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule at least repeatable by wrapping it in a RepeatedTokenRule.
To make the new rule match, this rule must match at least the specified number of times.
repeatAtLeast(TokenRule, int) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a repeated token rule with the given token rule and the minimum number of occurrences.
This method is equivalent to TokenRules.repeatBetween(TokenRule, int, int) with the maximum number of occurrences set to Integer.MAX_VALUE.
repeatAtMost(int) - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule at most repeatable by wrapping it in a RepeatedTokenRule.
To make the new rule match, this rule must match at most the specified number of times.
repeatAtMost(TokenRule, int) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a repeated token rule with the given token rule and the maximum number of occurrences.
This method is equivalent to TokenRules.repeatBetween(TokenRule, int, int) with the minimum number of occurrences set to 0.
repeatBetween(int, int) - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule between repeatable by wrapping it in a RepeatedTokenRule.
To make the new rule match, this rule must match at least min and at most max times.
repeatBetween(TokenRule, int, int) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a repeated token rule with the given token rule and the minimum and maximum number of occurrences.
RepeatedTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches a token rule a number of times.
This rule is useful for creating complex matching logic by repeating a rule.
It will match the token rule a number of times between the min and max occurrences.
If the min and max occurrences are the same, it will match exactly that number of times.
RepeatedTokenRule(TokenRule, int) - Constructor for record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Constructs a new repeated token rule with the given token rule and exact number of occurrences.
RepeatedTokenRule(TokenRule, int, int) - Constructor for record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Constructs a new repeated token rule with the given token rule and min and max number of occurrences.
repeatExactly(int) - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule exactly repeatable by wrapping it in a RepeatedTokenRule.
To make the new rule match, this rule must match exactly the specified number of times.
repeatExactly(TokenRule, int) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a repeated token rule with the given token rule and the exact number of occurrences.
This method is equivalent to TokenRules.repeatBetween(TokenRule, int, int) with the minimum and maximum number of occurrences set to the same value.
repeatInfinitely() - Method in interface net.luis.utils.io.token.rule.rules.TokenRule
Makes this token rule infinitely repeatable by wrapping it in a RepeatedTokenRule.
To make the new rule match, this rule must match at least 0 and at most Integer.MAX_VALUE times.
repeatInfinitely(TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a repeated token rule with the given token rule and no limit on the number of occurrences.
This method is equivalent to TokenRules.repeatBetween(TokenRule, int, int) with the minimum number of occurrences set to 0 and the maximum number of occurrences set to Integer.MAX_VALUE.
replace(String, JsonElement, JsonElement) - Method in class net.luis.utils.io.data.json.JsonObject
Replaces the given element with the given key in this json object with the new given element.
replace(String, JsonElement) - Method in class net.luis.utils.io.data.json.JsonObject
Replaces the element with the given key in this json object with the new given element.
If the given element is null, it will be replaced with json null.
replace(String, XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Replaces the attribute with the given name in this collection with the new attribute.
replace(String, XmlAttribute, XmlAttribute) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Replaces the attribute with the given name in this collection with the new attribute.
Under the condition that the name is associated with the given current attribute.
reset() - Method in class net.luis.utils.io.reader.StringReader
Resets the index of the reader to zero or if set to the marked index.
If the marked index is set, it will be reset after calling this method.
resolveAdvancedKeys(String) - Method in class net.luis.utils.io.data.property.PropertyReader
Validates and resolves the given advanced key and returns the resolved keys.
The key can be a compacted or variable key.
resolveCompactedKeyPart(String, String) - Method in class net.luis.utils.io.data.property.PropertyReader
Validates and resolves the given compacted key part against the expected format.
The compacted key part must contain at least one value, a pipe separates multiple values.
The values must not be blank, contain whitespaces or be nested.
resolveVariableKeyPart(String, String) - Method in class net.luis.utils.io.data.property.PropertyReader
Validates and resolves the given variable key part against the expected format.
The variable key part must contain at least one question mark but at most two.
The first part is the target type, the second part is the target key and the third part is the optional default value.
resolveVariableValue(String, String) - Method in class net.luis.utils.io.data.property.PropertyReader
Resolves the actual value of the given variable key part.
ResourceLocation - Class in net.luis.utils.resources
Represents a resource which can be loaded from the classpath or from the filesystem.
ResourceLocation(String, String) - Constructor for class net.luis.utils.resources.ResourceLocation
Constructs a new resource location with the given path and name.
The path will be stripped and then modified by ResourceLocation.modifyPath(String).
ResourceLocation.Type - Enum Class in net.luis.utils.resources
Represents the type of a ResourceLocation.
result - Variable in class net.luis.utils.util.Result
The internal result of this instance.
This is either the result or the error message.
result() - Method in class net.luis.utils.util.Chance
Gets the result of the chance.
result() - Method in class net.luis.utils.util.Result
Returns the result of the operation as an Optional.
Result<T> - Class in net.luis.utils.util
Represents the result of an operation that may fail.
Result(Either<T, String>) - Constructor for class net.luis.utils.util.Result
Constructs a new result with the specified result.
ResultingFunction<T,R> - Interface in net.luis.utils.io.codec
Functional interface for mapping a value to a result.
This function is a more friendly variant of Function<T, Result<R>>.
The main use case is to map a value to a result that may contain an error.
ResultMappingFunction<T,R> - Interface in net.luis.utils.io.codec
Functional interface for mapping the type of a Result.
This function is a more friendly variant of Function<Result<T>, Result<R>>.
reverseIncludeBrackets(String) - Static method in class net.luis.utils.lang.StringUtils
Reverses the given string including brackets.
If the given string is null or empty, an empty string will be returned.
right() - Method in class net.luis.utils.util.Either.Left
 
right() - Method in class net.luis.utils.util.Either
Returns the right value as an Optional.
right() - Method in class net.luis.utils.util.Either.Right
 
right(R) - Static method in class net.luis.utils.util.Either
Creates a new either instance with the given value as the right value.
Right(R) - Constructor for class net.luis.utils.util.Either.Right
Constructs a new right either instance with the given value.
rightOrThrow() - Method in class net.luis.utils.util.Either.Left
 
rightOrThrow() - Method in class net.luis.utils.util.Either.Right
 
rightOrThrow() - Method in class net.luis.utils.util.Either
Returns the right value or throws an exception if it is a left either.
rng - Variable in class net.luis.utils.collection.WeightCollection
The random number generator.
RNG - Static variable in class net.luis.utils.util.Chance
The random number generator used to generate the chance.
ROOT - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of root xml element type.
Used as name for maps if XmlTypeProvider.useRoot is true.
rootDirectory - Variable in class net.luis.utils.logging.LoggerConfiguration
The root directory for all log files.
roundTo(double, int) - Static method in class net.luis.utils.math.Mth
Rounds the given value to the given number of digits after the decimal point.
Example:
RuleAction(TokenRule, TokenAction) - Constructor for record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Constructs a new rule action with the given token rule and action.
ruleActions - Variable in class net.luis.utils.io.token.rule.TokenRuleEngine
List of rule actions to be applied to the tokens.

S

sameValues(Number...) - Static method in class net.luis.utils.math.Mth
Checks if the given values have the same value.
scope - Variable in class net.luis.utils.io.data.json.JsonReader
The scope stack used to keep track of the current json scope.
SCOPE_REGISTRY - Static variable in record class net.luis.utils.io.reader.StringScope
A map that stores all created scopes.
The key is the opening character and the value is the closing character.
ScopedStringReader - Class in net.luis.utils.io.reader
A utility class to read strings with scopes.
A scope is defined by two characters, an opening and a closing character.
ScopedStringReader(Reader) - Constructor for class net.luis.utils.io.reader.ScopedStringReader
Constructs a new scoped string reader with the given reader.
The reader is closed after reading the string.
ScopedStringReader(String) - Constructor for class net.luis.utils.io.reader.ScopedStringReader
Constructs a new scoped string reader with the given string.
second - Variable in class net.luis.utils.util.Pair
The second value of the pair.
secondCodec - Variable in class net.luis.utils.io.codec.struct.EitherCodec
The codec used to encode and decode the values of the second type.
secondCoefficients - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The second coefficients of the EEA.
separator - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the separator record component.
separator - Variable in record class net.luis.utils.util.Version.AppendingVersion
The field for the separator record component.
separator() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the separator record component.
separator() - Method in record class net.luis.utils.util.Version.AppendingVersion
Returns the value of the separator record component.
separators - Variable in class net.luis.utils.io.token.TokenReader
The set of characters that are considered as separators in the input string.
sequence(List<TokenRule>) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches a sequence of token rules.
sequence(TokenRule...) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Creates a token rule that matches a sequence of token rules.
SequenceTokenRule - Record Class in net.luis.utils.io.token.rule.rules
A token rule that matches a sequence of token rules.
This rule is useful for creating complex matching logic by combining multiple rules.
It will match the token rules in the order they are provided, otherwise it will return null.
SequenceTokenRule(List<TokenRule>) - Constructor for record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
Constructs a new sequence token rule with the given token rules.
set(int, boolean) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given boolean.
The boolean will be converted to a json primitive element.
set(int, byte) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given byte.
The byte will be converted to a json primitive element.
set(int, double) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given double.
The double will be converted to a json primitive element.
set(int, float) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given float.
The float will be converted to a json primitive element.
set(int, int) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given int.
The int will be converted to a json primitive element.
set(int, long) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given long.
The long will be converted to a json primitive element.
set(int, short) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given short.
The short will be converted to a json primitive element.
set(int, E) - Method in class net.luis.utils.collection.SortedList

The list is sorted after the element is added.
set(int, Number) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given number.
The number will be converted to a json primitive element.
If the number is null, it will be replaced with a json null element.
set(int, String) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given string.
The string will be converted to a json primitive element.
If the string is null, it will be replaced with a json null element.
set(int, JsonElement) - Method in class net.luis.utils.io.data.json.JsonArray
Sets the element at the given index to the given json element.
If the json element is null, it will be replaced with a json null element.
set(Class<?>, String, Object, Object) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Sets the value of the field with the given name in the given class and instance to the given value.
set(Field, Object, Object) - Static method in class net.luis.utils.util.unsafe.reflection.ReflectionHelper
Sets the value of the given field in the given instance to the given value.
Exceptions will not be logged or thrown by default.
set(JsonElement, String, JsonElement) - Method in class net.luis.utils.io.codec.provider.JsonTypeProvider
 
set(XmlElement, String, XmlElement) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
 
set(T) - Method in class net.luis.utils.util.LazyInitialization
Sets the value of the object if it has not been initialized yet.
Performs the action set in the constructor if the object is initialized.
set(T, String, Result<T>) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Sets the value for the given key in the given value.
This is an overloaded method to handle the value as a Result.
If the given value is a success, the value will be set.
If the given value is an error, the value will not be set and an error result will be returned.
set(T, String, T) - Method in interface net.luis.utils.io.codec.provider.TypeProvider
Sets the value for the given key in the given value.
The given type must be a map.
setArchiveAutoDeletionAge(int) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the age in days after which archived log files should be deleted.
The maximum depth must be greater than 0.
If the value is less than 1, it will be set to 1.
setArchiveAutoDeletionDepth(int) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the maximum depth in which archived log files should be deleted.
The maximum depth must be greater than 0.
If the value is less than 1, it will be set to 1.
setArchiveType(String) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the archive type for the archived log files.
The archive type must be '.gz', '.zip', '.bz2' or '.xy' (dot is optional, case-insensitive).
setComparator(Comparator<E>) - Method in class net.luis.utils.collection.SortedList
Sets the comparator used to sort the list.
setCompressionLevel(int) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the compression level for the archived log files.
The compression level must be between 0 and 9.
If the value is out of bounds, it will be clamped to the nearest bound.
setFileSize(String) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the maximum file size for the log files.
The file size must be a number followed by an optional unit (KB, MB, GB, TB).
setMaxArchiveFiles(int) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the maximum number of archived log files which should be kept.
The maximum number of archived log files must be greater than 0.
If the value is less than 1, it will be set to 1.
setRootDirectory(String) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the root directory for all log files.
The root directory is the directory where the log files will be stored.
The default root directory is './'.
setSeed(long) - Static method in class net.luis.utils.util.Chance
Sets the seed of the random number generator.
setStatusLevel(Level) - Method in class net.luis.utils.logging.LoggerConfiguration
Sets the status level for the internal Log4j2 logger.
setValue(V) - Method in class net.luis.utils.collection.util.MutableEntry
Sets the value of this entry to the specified value.
setValue(V) - Method in class net.luis.utils.collection.util.SimpleEntry
Throws a ModificationException because the entry is immutable.
SHORT - Enum constant in enum class net.luis.utils.math.NumberType
Represents a Short number type.
SHORT - Static variable in interface net.luis.utils.io.codec.Codec
A range codec that encodes and decodes short values.
SHORT - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of short xml element type.
sign - Variable in record class net.luis.utils.io.reader.StringReader.ParsedNumber
The field for the sign record component.
sign() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns the value of the sign record component.
SimpleCell<R,C,V> - Record Class in net.luis.utils.collection.util
A simple implementation of the Table.Cell interface.
SimpleCell(R, C, V) - Constructor for record class net.luis.utils.collection.util.SimpleCell
Constructs a new simple cell with the specified row key, column key and value.
SimpleEntry<K,V> - Class in net.luis.utils.collection.util
A simple immutable implementation of the Map.Entry interface.
SimpleEntry(K, V) - Constructor for class net.luis.utils.collection.util.SimpleEntry
Constructs a new simple entry with the specified key and value.
SimpleToken - Record Class in net.luis.utils.io.token.tokens
Token implementation for a simple string token.
SimpleToken(TokenDefinition, String, TokenPosition, TokenPosition) - Constructor for record class net.luis.utils.io.token.tokens.SimpleToken
Constructs a new simple token for a string value.
simplifyArrays - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the simplifyArrays record component.
simplifyArrays() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the simplifyArrays record component.
simplifyObjects - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the simplifyObjects record component.
simplifyObjects() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the simplifyObjects record component.
simplifyValues - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the simplifyValues record component.
simplifyValues() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the simplifyValues record component.
SINGLE_QUOTE_PATTERN - Static variable in class net.luis.utils.lang.StringUtils
Regular expression pattern used to remove single-quoted string parts.
The regular expression allows escaped single quotes inside the string.
Singleton - Annotation Interface in net.luis.utils.annotation.type
Types that are annotated with this annotation will be instantiated only once.
It might be possible to get the instance of the class by: Calling the static method getInstance() Accessing the public static field INSTANCE If an interface is annotated with this annotation,
all classes that implement this interface will be instantiated only once.
Singleton.Method - Enum Class in net.luis.utils.annotation.type
The method to obtain the instance of the singleton class.
size() - Method in class net.luis.utils.collection.SortedList
 
size() - Method in class net.luis.utils.io.data.json.JsonArray
Returns the number of elements in this json array.
size() - Method in class net.luis.utils.io.data.json.JsonObject
Returns the number of elements in this json object.
size() - Method in class net.luis.utils.io.data.property.Properties
Returns the number of properties in this instance.
size() - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns the number of attributes in this collection.
size() - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns the number of elements in this container.
size() - Method in class net.luis.utils.io.data.xml.XmlElements
Returns the number of elements in the collection considering the type.
skip() - Method in class net.luis.utils.io.reader.StringReader
Skips the next character.
Increments the index by one.
skip(char) - Method in class net.luis.utils.io.reader.StringReader
Skips all characters that are equal to the given character.
If the next character is not equal to the given character
or there are no more characters to read, nothing happens.
skip(int) - Method in class net.luis.utils.io.reader.StringReader
Skips the given number of characters.
skip(Predicate<Character>) - Method in class net.luis.utils.io.reader.StringReader
Skips all characters that match the given predicate.
If the next character does not match the predicate
or there are no more characters to read, nothing happens.
skipWhitespaces() - Method in class net.luis.utils.io.reader.StringReader
Skips all whitespaces.
A whitespace is a character that returns true when calling Character.isWhitespace(char).
skipWhitespacesConfigBased(StringReader) - Method in class net.luis.utils.io.data.xml.XmlReader
Skips the next whitespace character based on the xml config.
In strict mode, only the next whitespace character is skipped; otherwise all whitespaces are skipped.
sort(Comparator<? super E>) - Method in class net.luis.utils.collection.SortedList
The list is sorted with the comparator of this list.
SortedList<E> - Class in net.luis.utils.collection
A list which is after every modification sorted
using the set comparator or if it is null the natural order.
SortedList() - Constructor for class net.luis.utils.collection.SortedList
Constructs a new empty sorted list.
The comparator is set to null.
Internally, a ArrayList is used.
SortedList(E...) - Constructor for class net.luis.utils.collection.SortedList
Constructs a new sorted list with the given elements.
The comparator is set to null.
The elements are wrapped in an internal ArrayList.
SortedList(List<E>) - Constructor for class net.luis.utils.collection.SortedList
Constructs a new sorted list with from the given list.
The comparator is set to null.
The list is not copied, it is used directly.
SortedList(List<E>, Comparator<E>) - Constructor for class net.luis.utils.collection.SortedList
Constructs a new sorted list from the given list and the comparator.
The list is not copied, it is used directly.
SortedList(Comparator<E>) - Constructor for class net.luis.utils.collection.SortedList
Constructs a new empty sorted list with the given comparator.
Internally, a ArrayList is used.
SortedList(Comparator<E>, E...) - Constructor for class net.luis.utils.collection.SortedList
Constructs a new sorted list with the given elements and the comparator.
The elements are wrapped in an internal ArrayList.
split(String) - Static method in class net.luis.utils.io.FileUtils
Splits the given file into a pair of the folder and the file name.
The folder is the part before the last slash, the name is the part after the last slash.
splitNotEscaped(String, char) - Static method in class net.luis.utils.lang.StringUtils
Splits the given string by the given target character.
The target character will be ignored if it is escaped with a backslash.
If the string is empty or null, an empty array will be returned.
splitPath(String) - Static method in class net.luis.utils.resources.ResourceLocation
Splits a file into a path and a name.
SpringFactory - Class in net.luis.utils.logging.factory
Spring logging configuration factory.
Due to the fact that spring boot replaces the logging configuration with its own,
this factory is used to replace the spring boot configuration with the logger configuration used before spring boot.
SpringFactory() - Constructor for class net.luis.utils.logging.factory.SpringFactory
Constructs a new spring factory for logging configuration.
SQUARE_BRACKETS - Static variable in record class net.luis.utils.io.reader.StringScope
Constant string scope for square brackets.
StackTraceUtils - Class in net.luis.utils.util.unsafe
Utility class for stack trace related operations.
Provides methods to get the calling class and method.
StackTraceUtils() - Constructor for class net.luis.utils.util.unsafe.StackTraceUtils
Private constructor to prevent instantiation.
This is a static helper class.
standalone - Variable in record class net.luis.utils.io.data.xml.XmlDeclaration
The field for the standalone record component.
standalone() - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Returns the value of the standalone record component.
startIndex - Variable in record class net.luis.utils.io.token.rule.TokenRuleMatch
The field for the startIndex record component.
startIndex() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns the value of the startIndex record component.
startPosition - Variable in record class net.luis.utils.io.token.tokens.EscapedToken
The field for the startPosition record component.
startPosition - Variable in record class net.luis.utils.io.token.tokens.SimpleToken
The field for the startPosition record component.
startPosition() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns the value of the startPosition record component.
startPosition() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns the value of the startPosition record component.
startPosition() - Method in interface net.luis.utils.io.token.tokens.Token
Returns the start position of the token.
The start position is the first character of the token.
startPosition() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns the start position of the token group.
The start position is the start position of the first token in the group.
startTokenRule - Variable in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
The field for the startTokenRule record component.
startTokenRule() - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Returns the value of the startTokenRule record component.
statusLevel - Variable in class net.luis.utils.logging.LoggerConfiguration
The status level for the internal Log4j2 logger.
step - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The number of steps the EEA has executed.
stream - Variable in class net.luis.utils.io.data.InputProvider
The input stream for reading data.
stream - Variable in class net.luis.utils.io.data.OutputProvider
The output stream for writing data.
stream() - Method in interface net.luis.utils.io.codec.Codec
Creates a new stream codec uses the current codec as element codec for the stream codec.
stream(Codec<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new stream codec for the given codec.
strict - Variable in record class net.luis.utils.io.data.json.JsonConfig
The field for the strict record component.
strict - Variable in record class net.luis.utils.io.data.xml.XmlConfig
The field for the strict record component.
strict() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns the value of the strict record component.
strict() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns the value of the strict record component.
string - Variable in class net.luis.utils.io.reader.StringReader
The string to read from.
string(int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable string codec for the given maximum length.
string(int, int) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new keyable string codec for the given minimum and maximum length.
STRING - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes strings.
STRING - Static variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Constants for the name of string xml element type.
stringDecoder - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The function used to decode the range type from a string.
stringEncoder - Variable in class net.luis.utils.io.codec.struct.RangeCodec
The function used to encode the range type as a string.
StringReader - Class in net.luis.utils.io.reader
Represents a reader to read from a string.
The reader can read specific types of values from the string such as:
Quoted and unquoted strings Booleans Numbers (byte, short, integer, long, float, double) Big numbers (BigInteger, BigDecimal)
StringReader(Reader) - Constructor for class net.luis.utils.io.reader.StringReader
Constructs a new string reader from the given reader.
The reader is closed after reading the string.
StringReader(String) - Constructor for class net.luis.utils.io.reader.StringReader
Constructs a new string reader with the given string.
StringReader.ParsedNumber - Record Class in net.luis.utils.io.reader
Internal to represent a parsed number.
stringResolver(Function<E, String>, Function<String, E>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new codec that encodes and decodes values of the type C to and from strings.
The string encoder and decoder are defined as functions that convert values of the type C to and from strings.
If the decoder is unable to decode a string, it should return null.
StringScope - Record Class in net.luis.utils.io.reader
A record to define a string scope with an opening and a closing character.
StringScope(char, char) - Constructor for record class net.luis.utils.io.reader.StringScope
Constructs a new string scope with the given opening and closing character.
StringTokenDefinition - Record Class in net.luis.utils.io.token.definition
Token definition for a string.
This token definition matches a string that is equal to the token string.
StringTokenDefinition(String, boolean) - Constructor for record class net.luis.utils.io.token.definition.StringTokenDefinition
Constructs a new token definition for the given string.
StringUtils - Class in net.luis.utils.lang
A utility class for string operations.
StringUtils() - Constructor for class net.luis.utils.lang.StringUtils
Private constructor to prevent instantiation.
This is a static helper class.
success(T) - Static method in class net.luis.utils.util.Result
Creates a new successful result with the specified value.
suffix - Variable in enum class net.luis.utils.math.NumberType
The suffix of the number type.
If the number does not have a suffix by default in java, it will be the first character of the number type name.
'\0' if the number type does not have a suffix.
suffix - Variable in class net.luis.utils.util.Version.Builder
The suffix or pre-release identifier.
suffix - Variable in class net.luis.utils.util.Version
The suffix or pre-release identifier.
suffixToken - Variable in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
The field for the suffixToken record component.
suffixToken() - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Returns the value of the suffixToken record component.
suffixVersion - Variable in class net.luis.utils.util.Version.Builder
The appendable suffix version number.
suffixVersion - Variable in class net.luis.utils.util.Version
The appendable suffix version number.
sum(int) - Static method in class net.luis.utils.math.Mth
Sums all digits of the given integer.
If the given integer is negative, the absolute value will be used.
sum(long) - Static method in class net.luis.utils.math.Mth
Sums all digits of the given long.
If the given long is negative, the absolute value will be used.
supplier - Variable in class net.luis.utils.io.codec.struct.UnitCodec
The supplier used to create the unit value.
supplier - Variable in class net.luis.utils.util.LazyLoad
The supplier of the value to be loaded lazily.
supportedRadices - Variable in enum class net.luis.utils.math.NumberType
The radices supported by the number type.
swap() - Method in class net.luis.utils.util.Either
Swaps the left and right values of this either instance.
swap() - Method in class net.luis.utils.util.Pair
Swaps the first and second value of the pair.
systemRandom() - Static method in class net.luis.utils.util.Utils
Returns a new Random instance using the current system time as seed.

T

TEMP - Static variable in class net.luis.utils.resources.ResourceLocation
The temporary directory for resources which are copied from the classpath.
THROW - Enum constant in enum class net.luis.utils.util.ErrorAction
Throws the error or exception using Utils.throwSneaky(Throwable).
throwable(ThrowableFunction<T, R, ? extends Throwable>) - Static method in interface net.luis.utils.io.codec.ResultingFunction
Creates a new resulting function that applies the given throwable function to the value.
If the function throws an exception, the output result is an error with the exception message.
In all other cases, the output result is a success result with the output of the function as value.
throwable(ThrowableFunction<T, R, ? extends Throwable>) - Static method in interface net.luis.utils.io.codec.ResultMappingFunction
Creates a new result mapping function that applies the given throwable function to the result.
If the result is an error, the error is propagated to the output result and the function is not applied.
If the function throws an exception, the exception is caught and the output result is an error with the exception message.
In all other cases, the function is applied to the result.
ThrowableBiConsumer<T,U,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes two arguments and consumes them.
The FunctionalInterface method is ThrowableBiConsumer.accept(Object, Object).
The class is equivalent to BiConsumer, but the functional method can throw a checked exception.
ThrowableBiFunction<T,U,R,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes two arguments and returns a value.
The FunctionalInterface method is ThrowableBiFunction.apply(Object, Object).
The class is equivalent to BiFunction, but the functional method can throw a checked exception.
ThrowableConsumer<T,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes one argument and consumes it.
The FunctionalInterface method is ThrowableConsumer.accept(Object).
The class is equivalent to Consumer, but the functional method can throw a checked exception.
ThrowableFunction<T,R,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes an argument and returns a value.
The FunctionalInterface method is ThrowableFunction.apply(Object).
The class is equivalent to Function, but the functional method can throw a checked exception.
ThrowableQuadConsumer<T,U,V,W,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes four arguments and consumes them.
The FunctionalInterface method is ThrowableQuadConsumer.accept(Object, Object, Object, Object).
The class is equivalent to QuadConsumer, but the functional method can throw a checked exception.
ThrowableQuadFunction<T,U,V,W,R,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes four arguments and returns a value.
The FunctionalInterface method is ThrowableQuadFunction.apply(Object, Object, Object, Object).
The class is equivalent to QuadFunction, but the functional method can throw a checked exception.
ThrowableSupplier<T,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes no arguments and returns a value.
The FunctionalInterface method is ThrowableSupplier.get().
The class is equivalent to Supplier, but the functional method can throw a checked exception.
ThrowableTriConsumer<T,U,V,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes three arguments and consumes them.
The FunctionalInterface method is ThrowableTriConsumer.accept(Object, Object, Object).
The class is equivalent to TriConsumer, but the functional method can throw a checked exception.
ThrowableTriFunction<T,U,V,R,X> - Interface in net.luis.utils.function.throwable
Functional interface that takes three arguments and returns a value.
The FunctionalInterface method is ThrowableTriFunction.apply(Object, Object, Object).
The class is equivalent to TriFunction, but the functional method can throw a checked exception.
throwSneaky(Throwable) - Static method in class net.luis.utils.util.Utils
Throws the given exception as a sneaky exception.
toBaseRegex(TokenDefinition) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Converts the given token definition to a regex string.
A word token definition is converted to a regex that matches any alphanumeric and numeric character.
All special characters are escaped.
toBaseRegex(TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Converts the given token rule to a regex string without removing the surrounding brackets.
The rules are converted to regex strings and joined together with the appropriate regex operators.
toBaseString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlElement
Returns a string builder with the base string representation of this xml element.
The base string representation contains the root tag with the name and attributes.
token - Variable in record class net.luis.utils.io.token.definition.CharTokenDefinition
The field for the token record component.
token - Variable in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
The field for the token record component.
token - Variable in record class net.luis.utils.io.token.definition.StringTokenDefinition
The field for the token record component.
token() - Method in record class net.luis.utils.io.token.definition.CharTokenDefinition
Returns the value of the token record component.
token() - Method in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
Returns the value of the token record component.
token() - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
Returns the value of the token record component.
Token - Interface in net.luis.utils.io.token.tokens
Interface for a token.
A token is a sequence of characters that matches a token definition.
The implementations of this interface serve as a value for a token definition.
TokenAction - Interface in net.luis.utils.io.token.rule.actions
Token action that is applied to a token rule match.
With a token action, the tokens of the match can be modified, transformed or removed.
TokenDefinition - Interface in net.luis.utils.io.token.definition
Functional interface for a token definition.
A token definition defines a token and provides a method to check if a word matches the token.
TokenGroup - Record Class in net.luis.utils.io.token.tokens
Token implementation for a group of tokens.
A token group is a sequence of tokens that have been grouped together and match the token definition.
TokenGroup(List<Token>, TokenDefinition) - Constructor for record class net.luis.utils.io.token.tokens.TokenGroup
Constructs a new token group for a list of tokens.
TokenPosition - Record Class in net.luis.utils.io.token
Class which represents the position of a token in a file.
The line, character in line and character numbers are 0-based.
TokenPosition(int, int, int) - Constructor for record class net.luis.utils.io.token.TokenPosition
Constructs a new token position.
TokenReader - Class in net.luis.utils.io.token
A class that reads tokens from a string input based on defined token definitions.
It processes the input string, identifies tokens, and returns a list of tokens.
It handles escape sequences and allows for custom token definitions and separators.
TokenReader(Set<TokenDefinition>, Set<Character>, Set<Character>) - Constructor for class net.luis.utils.io.token.TokenReader
Constructs a new token reader with the specified token definitions, allowed characters, and separators.
The characters '\\' and '\n' are added to the set of separators.
The list of separators is added to the list of allowed characters to ensure they are valid.
TokenReader.PositionTracker - Class in net.luis.utils.io.token
A class that tracks the position of the current character in the input string.
It keeps track of the line number, character position, and character index in the line.
tokenRule - Variable in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
The field for the tokenRule record component.
tokenRule - Variable in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
The field for the tokenRule record component.
tokenRule - Variable in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
The field for the tokenRule record component.
tokenRule() - Method in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
Returns the value of the tokenRule record component.
tokenRule() - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Returns the value of the tokenRule record component.
tokenRule() - Method in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Returns the value of the tokenRule record component.
TokenRule - Interface in net.luis.utils.io.token.rule.rules
A functional interface representing a rule for matching tokens in a list.
It defines a method to match tokens starting from a given index and returns a TokenRuleMatch if successful.
TokenRuleEngine - Class in net.luis.utils.io.token.rule
A rule engine for processing tokens based on defined rules.
A rule can either validate or transform tokens.
The engine applies the rules in the order they were added.
If a rule matches, it replaces the matched tokens with the result of the action.
If no rule matches, the engine moves to the next token.
TokenRuleEngine() - Constructor for class net.luis.utils.io.token.rule.TokenRuleEngine
 
TokenRuleEngine.RuleAction - Record Class in net.luis.utils.io.token.rule
A record that holds a token rule and its associated action.
TokenRuleMatch - Record Class in net.luis.utils.io.token.rule
A class that represents a match of a token rule.
It contains the start and end index of the match, the matched tokens, and the matching token rule.
TokenRuleMatch(int, int, List<Token>, TokenRule) - Constructor for record class net.luis.utils.io.token.rule.TokenRuleMatch
Constructs a new token rule match with the given start and end index, matched tokens, and matching token rule.
tokenRules - Variable in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
The field for the tokenRules record component.
tokenRules - Variable in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
The field for the tokenRules record component.
tokenRules() - Method in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
Returns the value of the tokenRules record component.
tokenRules() - Method in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
Returns the value of the tokenRules record component.
TokenRules - Class in net.luis.utils.io.token.rule.rules
A utility class for creating token rules.
TokenRules() - Constructor for class net.luis.utils.io.token.rule.rules.TokenRules
Private constructor to prevent instantiation.
This is a static helper class.
tokens - Variable in record class net.luis.utils.io.token.tokens.TokenGroup
The field for the tokens record component.
tokens() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns the value of the tokens record component.
TokenTransformer - Interface in net.luis.utils.io.token.rule.actions
Token transformer that transforms a list of tokens into another list of tokens.
The transformer can modify the tokens, remove them, or add new tokens.
toRegex(TokenRule) - Static method in class net.luis.utils.io.token.rule.rules.TokenRules
Converts the given token rule to a regex string.
This method will remove the surrounding brackets if they are present.
toString() - Method in class net.luis.utils.collection.util.MutableEntry
 
toString() - Method in record class net.luis.utils.collection.util.SimpleCell
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.collection.util.SimpleEntry
 
toString() - Method in class net.luis.utils.collection.WeightCollection
 
toString() - Method in class net.luis.utils.io.codec.ConfiguredCodec
 
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper1
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper10
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper11
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper12
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper13
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper14
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper15
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper16
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper2
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper3
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper4
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper5
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper6
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper7
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper8
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.codec.group.grouper.CodecGrouper9
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.io.codec.NamedCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.EitherCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.ListCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.MapCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.OptionalCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.RangeCodec
 
toString() - Method in class net.luis.utils.io.codec.struct.UnitCodec
 
toString() - Method in class net.luis.utils.io.data.json.JsonArray
 
toString() - Method in record class net.luis.utils.io.data.json.JsonConfig
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.io.data.json.JsonNull
 
toString() - Method in class net.luis.utils.io.data.json.JsonObject
 
toString() - Method in class net.luis.utils.io.data.json.JsonPrimitive
 
toString() - Method in class net.luis.utils.io.data.property.Properties
 
toString() - Method in class net.luis.utils.io.data.property.Property
 
toString() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.io.data.xml.XmlAttribute
 
toString() - Method in class net.luis.utils.io.data.xml.XmlAttributes
 
toString() - Method in record class net.luis.utils.io.data.xml.XmlConfig
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.io.data.xml.XmlElement
 
toString() - Method in class net.luis.utils.io.data.xml.XmlElements
 
toString() - Method in class net.luis.utils.io.FileAccess
 
toString() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.reader.StringScope
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.definition.CharTokenDefinition
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.definition.EscapedTokenDefinition
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.definition.StringTokenDefinition
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.io.token.definition.WordTokenDefinition
 
toString() - Method in record class net.luis.utils.io.token.rule.actions.GroupingTokenAction
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.AnyOfTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.OptionalTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.PatternTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.RepeatedTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.rules.SequenceTokenRule
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.TokenRuleEngine.RuleAction
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.rule.TokenRuleMatch
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.TokenPosition
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns a string representation of this record class.
toString() - Method in record class net.luis.utils.lang.EnumConstant
Returns a string representation of this record class.
toString() - Method in enum class net.luis.utils.logging.LoggingType
 
toString() - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
 
toString() - Method in enum class net.luis.utils.math.NumberType
 
toString() - Method in enum class net.luis.utils.math.Radix
 
toString() - Method in class net.luis.utils.resources.ResourceLocation
 
toString() - Method in class net.luis.utils.util.Chance
 
toString() - Method in class net.luis.utils.util.Either.Left
 
toString() - Method in class net.luis.utils.util.Either.Right
 
toString() - Method in class net.luis.utils.util.LazyInitialization
 
toString() - Method in class net.luis.utils.util.LazyLoad
 
toString() - Method in class net.luis.utils.util.Pair
 
toString() - Method in record class net.luis.utils.util.Priority
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.util.Range
 
toString() - Method in class net.luis.utils.util.Result
 
toString() - Method in record class net.luis.utils.util.Version.AppendingVersion
Returns a string representation of this record class.
toString() - Method in class net.luis.utils.util.Version
 
toString(boolean) - Method in class net.luis.utils.util.Version
Returns the version as a string.
The version will be formatted as follows:
toString(boolean, boolean) - Method in class net.luis.utils.util.Version
Returns the version as a string.
The version will be formatted as follows:
toString(JsonConfig) - Method in class net.luis.utils.io.data.json.JsonArray
 
toString(JsonConfig) - Method in interface net.luis.utils.io.data.json.JsonElement
Returns a string representation of this json element based on the given json config.
The json config specifies how the json element should be formatted.
toString(JsonConfig) - Method in class net.luis.utils.io.data.json.JsonObject
 
toString(JsonConfig) - Method in class net.luis.utils.io.data.json.JsonNull
 
toString(JsonConfig) - Method in class net.luis.utils.io.data.json.JsonPrimitive
 
toString(PropertyConfig) - Method in class net.luis.utils.io.data.property.Property
Returns the property as a string with the given configuration.
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlContainer
Returns a string representation of this container.
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlElement
The string representation of this xml element.
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlElements
Returns a string representation of the collection using the given xml config.
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlValue
Returns a string representation of this value.
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlAttribute
Returns the string representation of the attribute.
The string representation is in the form of name="value".
toString(XmlConfig) - Method in class net.luis.utils.io.data.xml.XmlAttributes
Returns a string representation of this collection.
total - Variable in class net.luis.utils.collection.WeightCollection
The total weight of the collection.
toTokenPosition() - Method in class net.luis.utils.io.token.TokenReader.PositionTracker
Creates a new token position based on the current position tracker.
transform(List<Token>) - Method in interface net.luis.utils.io.token.rule.actions.TokenTransformer
Transforms the given list of tokens into another list of tokens.
The transformer can modify the tokens, remove them, or add new tokens.
transformer - Variable in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
The field for the transformer record component.
transformer() - Method in record class net.luis.utils.io.token.rule.actions.TransformTokenAction
Returns the value of the transformer record component.
TransformTokenAction - Record Class in net.luis.utils.io.token.rule.actions
Token action that transforms the tokens using a transformer.
The transformer is applied to the tokens, and the result is returned as an immutable list of tokens.
TransformTokenAction(TokenTransformer) - Constructor for record class net.luis.utils.io.token.rule.actions.TransformTokenAction
Constructs a new transform token action with the given transformer.
TriConsumer<T,U,V> - Interface in net.luis.utils.function
Functional interface that takes three arguments and consumes them.
The FunctionalInterface method is TriConsumer.accept(Object, Object, Object).
TriFunction<T,U,V,R> - Interface in net.luis.utils.function
Functional interface that takes three arguments and returns a value.
The FunctionalInterface method is TriFunction.apply(Object, Object, Object).
tryParse(String) - Static method in class net.luis.utils.io.data.json.JsonPrimitive
Tries to parse the given string to a boolean or number.
type - Variable in record class net.luis.utils.io.reader.StringReader.ParsedNumber
The field for the type record component.
type() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns the value of the type record component.
Type() - Constructor for enum class net.luis.utils.resources.ResourceLocation.Type
 
TypeProvider<T> - Interface in net.luis.utils.io.codec.provider
A provider for a specific type.
Used to create, get, set, and merge values of a specific type.

U

uncaughtException(Thread, Throwable) - Method in class net.luis.utils.logging.LoggingExceptionHandler
 
UNDEFINED - Enum constant in enum class net.luis.utils.annotation.type.Singleton.Method
The method to obtain the instance of the singleton class is undefined.
unescapeName(String) - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Unescapes the given name if it is numeric.
The name is unescaped by removing an underscore in front of it.
This is required because xml element names must not start with a number.
unescapeXml(String) - Static method in class net.luis.utils.io.data.xml.XmlHelper
Unescapes the given value from xml.
The following characters are replaced:
&amp; -> & &quot; -> " &apos; -> ' &lt; -> < &gt; -> >
unit(C) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new unit codec for the given value.
unit(Supplier<C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new unit codec for the given supplier.
UnitCodec<C> - Class in net.luis.utils.io.codec.struct
A codec for encoding and decoding unit values.
This codec does not encode or decode any value, it is used to represent a unit value.
UnitCodec(Supplier<C>) - Constructor for class net.luis.utils.io.codec.struct.UnitCodec
Constructs a new unit codec using the given supplier for the unit value.
Do not use this constructor directly, use any of the unit factory methods in Codec instead.
UNPOSITIONED - Static variable in record class net.luis.utils.io.token.TokenPosition
Constant which represents an unpositioned token.
UNSAFE_CALLS_MAIN - Static variable in class net.luis.utils.util.unsafe.StackTraceUtils
Constant for the system property 'unsafe.calls.main'.
If this property is true, the methods in this class can be called from the main method.
UNSAFE_CLASSES_IGNORED - Static variable in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Constant for the system property 'unsafe.classes.ignored'.
UNSAFE_OFFSET_BASE - Static variable in class net.luis.utils.util.unsafe.StackTraceUtils
Constant for the system property 'unsafe.offset.base'.
The base offset for the stack trace elements is 3.
Used internally in StackTraceUtils.getStackTrace(int) to get the correct stack trace element.
UNSAFE_OFFSET_DEFAULT - Static variable in class net.luis.utils.util.unsafe.StackTraceUtils
Constant for the system property 'unsafe.offset.default'.
UNSAFE_PACKAGE_DEPTH - Static variable in class net.luis.utils.util.unsafe.classpath.ClassPathHelper
Constant for the system property 'unsafe.package.depth'.
update(BigInteger, BigInteger, BigInteger, BigInteger) - Method in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
Updates the values of the EEA.
The first and second coefficients are calculated and added to their respective lists.
The value, divisor, remainder, quotient and step are updated.
URI - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes URIs.
The underlying URI is converted to and from a string.
url - Variable in class net.luis.utils.resources.InternalResourceLocation
The url of the resource on the classpath or null if the resource does not exist.
URL - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes URLs.
The underlying URL is converted to and from a string.
useRoot - Variable in class net.luis.utils.io.codec.provider.XmlTypeProvider
Whether to use XmlTypeProvider.ROOT as name for maps.
useRoot() - Method in class net.luis.utils.io.codec.provider.XmlTypeProvider
Returns a new instance of this class with XmlTypeProvider.useRoot set to true.
If XmlTypeProvider.useRoot is already true, the same instance is returned.
Utils - Class in net.luis.utils.util
Utility class for various helper methods.
Utils() - Constructor for class net.luis.utils.util.Utils
Private constructor to prevent instantiation.
This is a static helper class.
UUID - Static variable in interface net.luis.utils.io.codec.Codec
A keyable codec that encodes and decodes UUIDs.
The underlying UUID is converted to and from a string.

V

validate(Function<C, Result<C>>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new codec that will validate the result of the decoding process using the given validator function.
The validator function is applied to the decoded value and must return a result that contains the validated value or an error message.
validateAttributeKey(String) - Static method in class net.luis.utils.io.data.xml.XmlHelper
Validates the given xml attribute name.
In addition to the base validation, the name must match the pattern XmlHelper.XML_ATTRIBUTE_NAME_PATTERN.
validateBase(String, String) - Static method in class net.luis.utils.io.data.xml.XmlHelper
Validates the given string.
The base validation checks if the string is not null, not empty and not blank.
validateElementName(String) - Static method in class net.luis.utils.io.data.xml.XmlHelper
Validates the given xml element name.
In addition to the base validation, the name must match the pattern XmlHelper.XML_ELEMENT_NAME_PATTERN.
validateLevel(Level) - Method in class net.luis.utils.logging.LoggerConfiguration
Validates the given level.
validateTokenRules(String, Collection<TokenRule>) - Static method in record class net.luis.utils.io.token.rule.rules.BoundaryTokenRule
Validates the given token rules to ensure they do not contain any invalid between token rules.
This method is called recursively to check all nested token rules.
value - Variable in class net.luis.utils.collection.util.SimpleEntry
The value of the entry.
value - Variable in class net.luis.utils.io.data.json.JsonPrimitive
The value of this json primitive.
value - Variable in class net.luis.utils.io.data.property.Property
The value of the property.
value - Variable in class net.luis.utils.io.data.xml.XmlAttribute
The value of the attribute.
value - Variable in class net.luis.utils.io.data.xml.XmlValue
The value of the xml element.
value - Variable in record class net.luis.utils.io.reader.StringReader.ParsedNumber
The field for the value record component.
value - Variable in record class net.luis.utils.io.token.tokens.EscapedToken
The field for the value record component.
value - Variable in record class net.luis.utils.io.token.tokens.SimpleToken
The field for the value record component.
value - Variable in record class net.luis.utils.lang.EnumConstant
The field for the value record component.
value - Variable in class net.luis.utils.math.algorithm.ExtendedEuclideanAlgorithm
The current value of the EEA.
value - Variable in class net.luis.utils.util.Either.Left
The value of the left either.
value - Variable in class net.luis.utils.util.Either.Right
The value of the right either.
value - Variable in class net.luis.utils.util.LazyLoad
The cached value of the supplier.
The value is null if the supplier has not been called yet.
value() - Element in annotation interface net.luis.utils.annotation.type.Mediator
Returns the types that are mediated by this class.
value() - Element in annotation interface net.luis.utils.annotation.type.MockObject
Returns the class mocked by this mock object.
value() - Element in annotation interface net.luis.utils.annotation.type.Observable
Returns the type of the observer that is used by this observable.
The type might be used to automatically register and unregister listeners.
If the type is Object.class, no type is specified.
value() - Element in annotation interface net.luis.utils.annotation.type.Singleton
Returns the method to get the instance of the singleton class.
value() - Element in annotation interface net.luis.utils.io.data.config.ReadOnly
The dependencies of the annotated record component.
Each dependency must be a boolean expression.
value() - Element in annotation interface net.luis.utils.io.data.config.WriteOnly
The dependencies of the annotated record component.
Each dependency must be a boolean expression.
value() - Method in record class net.luis.utils.io.reader.StringReader.ParsedNumber
Returns the value of the value record component.
value() - Method in record class net.luis.utils.io.token.tokens.EscapedToken
Returns the value of the value record component.
value() - Method in record class net.luis.utils.io.token.tokens.SimpleToken
Returns the value of the value record component.
value() - Method in interface net.luis.utils.io.token.tokens.Token
Returns the value of the token.
value() - Method in record class net.luis.utils.io.token.tokens.TokenGroup
Returns the value of the token group.
The value is the concatenation of all token values in the group.
value() - Method in record class net.luis.utils.lang.EnumConstant
Returns the value of the value record component.
valueCodec - Variable in class net.luis.utils.io.codec.struct.MapCodec
The codec used to encode and decode the values of the map.
ValueGetter - Interface in net.luis.utils.util.getter
A functional interface that provides methods to get a value of a specific type.
The value is hold by the object that implements this interface.
valueOf(Class<T>, String) - Static method in interface net.luis.utils.lang.EnumLike
Returns the constant of the given enum-like class with the specified name.
If the given name is null or no constant with the given name (case-insensitive) exists, an exception is thrown.
valueOf(String) - Static method in enum class net.luis.utils.annotation.type.Singleton.Method
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.logging.LoggingType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.math.NumberType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.math.Radix
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.resources.ResourceLocation.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.util.ErrorAction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.luis.utils.util.unsafe.classpath.ClassPathUtils.Mode
Returns the enum constant of this class with the specified name.
valuePattern - Variable in record class net.luis.utils.io.data.property.PropertyConfig
The field for the valuePattern record component.
valuePattern() - Method in record class net.luis.utils.io.data.property.PropertyConfig
Returns the value of the valuePattern record component.
values() - Static method in enum class net.luis.utils.annotation.type.Singleton.Method
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.logging.LoggingType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.math.NumberType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.math.Radix
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.resources.ResourceLocation.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.util.ErrorAction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.luis.utils.util.unsafe.classpath.ClassPathUtils.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values(Class<T>) - Static method in interface net.luis.utils.lang.EnumLike
Gets the values all enum-like values of the given enum-like class.
VALUES - Static variable in record class net.luis.utils.util.Priority
The list of all priority values.
Required for the EnumLike interface.
VARIABLE_KEY_PATTERN - Static variable in class net.luis.utils.io.data.property.PropertyReader
The pattern to check if a key is a variable key.
Variable keys - Search tag in class net.luis.utils.io.data.property.PropertyReader
Section
version - Variable in record class net.luis.utils.io.data.xml.XmlDeclaration
The field for the version record component.
version - Variable in record class net.luis.utils.util.Version.AppendingVersion
The field for the version record component.
version() - Method in record class net.luis.utils.io.data.xml.XmlDeclaration
Returns the value of the version record component.
version() - Method in record class net.luis.utils.util.Version.AppendingVersion
Returns the value of the version record component.
Version - Class in net.luis.utils.util
This class represents a version number.
The version number is represented by the following simplified pattern:
Version(int, int, int, Version.AppendingVersion, String, Version.AppendingVersion) - Constructor for class net.luis.utils.util.Version
Constructs a new version with the given version numbers.
The version numbers will be clamped to a minimum of 0.
VERSION_DEFAULT_PREFIXED - Static variable in class net.luis.utils.util.Version
Constant for the system property 'version.default.prefixed'.
VERSION_PATTERN - Static variable in class net.luis.utils.util.Version
The pattern used to parse a version number.
Group 1: The major version number Group 2: The minor version number Group 3: The patch or fix version number Group 6: The build number Group 8: The suffix or pre-release identifier Group 10: The version of the suffix or pre-release identifier The pattern is case-sensitive and allows the version number to be prefixed with a 'v'.
Version.AppendingVersion - Record Class in net.luis.utils.util
This record represents an appendable version number.
The record is used for the build and suffix version numbers.
Version.Builder - Class in net.luis.utils.util
This class represents a builder for a version number.

W

warpNullTo(T, Supplier<T>) - Static method in class net.luis.utils.util.Utils
Wraps the given value to the value returned by the given fallback supplier if the value is null.
If the value is not null, the value is returned.
warpNullTo(T, T) - Static method in class net.luis.utils.util.Utils
Wraps the given value to the given fallback value if the value is null.
If the value is not null, the value is returned.
WeightCollection<T> - Class in net.luis.utils.collection
A collection which returns a random element based on the weight of the elements.
The higher the weight, the higher the chance that the element is returned.
WeightCollection() - Constructor for class net.luis.utils.collection.WeightCollection
Constructs a new empty weight collection.
WeightCollection(Random) - Constructor for class net.luis.utils.collection.WeightCollection
Constructs a new empty weight collection with the given random number generator.
withAlternative(Codec<? extends C>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new codec that uses the current codec as the main codec and the given codec as alternative codec.
If the main codec fails to encode or decode a value, the alternative codec is used.
withAlternative(Codec<C>, Codec<? extends C>) - Static method in interface net.luis.utils.io.codec.Codec
Creates a new codec that uses the given codec as the main codec and the given codec as alternative codec.
If the main codec fails to encode or decode a value, the alternative codec is used.
withBuild(char, int) - Method in class net.luis.utils.util.Version.Builder
Sets the build version number and the separator.
The build version number will be clamped to a minimum of 0.
withFirst(T) - Method in class net.luis.utils.util.Pair
Creates a new pair with the specified first value.
withMajor(int) - Method in class net.luis.utils.util.Version.Builder
Sets the major version number.
The major version number will be clamped to a minimum of 0.
withMinor(int) - Method in class net.luis.utils.util.Version.Builder
Sets the minor version number.
The minor version number will be clamped to a minimum of 0.
withPatch(int) - Method in class net.luis.utils.util.Version.Builder
Sets the patch or fix version number.
The patch or fix version number will be clamped to a minimum of 0.
withSecond(T) - Method in class net.luis.utils.util.Pair
Creates a new pair with the specified second value.
withSuffix(String) - Method in class net.luis.utils.util.Version.Builder
Sets the suffix or pre-release identifier.
Removes leading and trailing whitespace from the suffix.
Recommended suffixes are 'alpha', 'beta', 'rc', 'release-candidate', 'release', and 'final'.
withSuffixVersion(int) - Method in class net.luis.utils.util.Version.Builder
Sets the suffix version number.
The suffix version number will be clamped to a minimum of 0.
WordTokenDefinition - Class in net.luis.utils.io.token.definition
Token definition for a word.
This token definition matches a string that is not empty.
It should be used for tokens that cannot be defined by a single character or string.
An example would be identifiers in programming languages.
WordTokenDefinition() - Constructor for class net.luis.utils.io.token.definition.WordTokenDefinition
Private constructor to prevent instantiation.
wrapFloatingPointParser(Function<String, ? extends Number>) - Static method in enum class net.luis.utils.math.NumberType
Wraps the floating point parser function to a number parser function.
The wrapped parser handles the special cases of floating point numbers.
wrapIntegerParser(BiFunction<String, Integer, ? extends Number>) - Static method in enum class net.luis.utils.math.NumberType
Wraps the integer parser function to a number parser function.
The wrapped parser simply translates the radix to an integer.
WrapTokenAction - Record Class in net.luis.utils.io.token.rule.actions
Token action that wraps the tokens with a prefix and suffix token.
The prefix and suffix tokens are added to the beginning and end of the matched tokens, respectively.
WrapTokenAction(Token, Token) - Constructor for record class net.luis.utils.io.token.rule.actions.WrapTokenAction
Constructs a new wrap token action with the given prefix and suffix tokens.
writeDeclaration(XmlDeclaration) - Method in class net.luis.utils.io.data.xml.XmlWriter
Writes the given xml declaration to the output.
writeJson(JsonElement) - Method in class net.luis.utils.io.data.json.JsonWriter
Writes the given json element to the output.
The json element is written as a string with the configuration of the writer.
WriteOnly - Annotation Interface in net.luis.utils.io.data.config
Annotation for record components of an io configuration.
The annotated record component is used for writing only.
writeProperty(String, Object) - Method in class net.luis.utils.io.data.property.PropertyWriter
Writes the given raw property to the underlying output.
writeProperty(String, T, Function<T, String>) - Method in class net.luis.utils.io.data.property.PropertyWriter
Writes the given raw property to the underlying output.
The value is converted to a string using the given converter.
writeProperty(Properties) - Method in class net.luis.utils.io.data.property.PropertyWriter
Writes the given properties to the underlying output.
writeProperty(Property) - Method in class net.luis.utils.io.data.property.PropertyWriter
Writes the given property to the underlying output.
writer - Variable in class net.luis.utils.io.data.json.JsonWriter
The internal writer used to write the json elements.
writer - Variable in class net.luis.utils.io.data.property.PropertyWriter
The internal io writer for writing the property.
writer - Variable in class net.luis.utils.io.data.xml.XmlWriter
The internal writer used to write the xml elements.
writeXml(XmlElement) - Method in class net.luis.utils.io.data.xml.XmlWriter
Writes the given xml element to the output.
wroteDeclaration - Variable in class net.luis.utils.io.data.xml.XmlWriter
A flag indicating whether the xml declaration was already written.

X

xmap(Function<O, C>, Function<C, O>) - Method in interface net.luis.utils.io.codec.Codec
Creates a new mapped codec of type O from the current codec.
XML_ATTRIBUTE_NAME_PATTERN - Static variable in class net.luis.utils.io.data.xml.XmlHelper
Pattern for valid xml attribute keys.
XML_ELEMENT_NAME_PATTERN - Static variable in class net.luis.utils.io.data.xml.XmlHelper
Pattern for valid xml element names.
XmlAttribute - Class in net.luis.utils.io.data.xml
Represents an xml attribute.
An xml attribute consists of a name and a value.
The name and the value are both strings.
XmlAttribute(String, boolean) - Constructor for class net.luis.utils.io.data.xml.XmlAttribute
Constructs a new xml attribute with the given name and boolean value.
XmlAttribute(String, Number) - Constructor for class net.luis.utils.io.data.xml.XmlAttribute
Constructs a new xml attribute with the given name and number value.
XmlAttribute(String, String) - Constructor for class net.luis.utils.io.data.xml.XmlAttribute
Constructs a new xml attribute with the given name and string value.
The value will be xml-escaped automatically.
XmlAttributes - Class in net.luis.utils.io.data.xml
Represents a collection of xml attributes.
The class provides methods to query, add, remove, replace, and get attributes.
XmlAttributes() - Constructor for class net.luis.utils.io.data.xml.XmlAttributes
Constructs a new empty xml attributes collection.
XmlAttributes(Map<String, XmlAttribute>) - Constructor for class net.luis.utils.io.data.xml.XmlAttributes
Constructs a new xml attributes collection with the given attributes.
The given attributes will be copied into the new collection.
XmlConfig - Record Class in net.luis.utils.io.data.xml
Configuration for reading and writing xml elements.
XmlConfig(boolean, boolean, String, boolean, boolean, Charset) - Constructor for record class net.luis.utils.io.data.xml.XmlConfig
Constructs a new xml configuration.
XmlContainer - Class in net.luis.utils.io.data.xml
Represents an xml container element.
A container element can contain other elements.
XmlContainer(String) - Constructor for class net.luis.utils.io.data.xml.XmlContainer
Constructs a new xml container with the given name.
XmlContainer(String, XmlAttributes) - Constructor for class net.luis.utils.io.data.xml.XmlContainer
Constructs a new xml container with the given name and attributes.
XmlContainer(String, XmlAttributes, XmlElements) - Constructor for class net.luis.utils.io.data.xml.XmlContainer
Constructs a new xml container with the given name, attributes and elements.
XmlContainer(String, XmlElements) - Constructor for class net.luis.utils.io.data.xml.XmlContainer
Constructs a new xml container with the given name and elements.
XmlDeclaration - Record Class in net.luis.utils.io.data.xml
Represents an xml declaration.
XmlDeclaration(Version) - Constructor for record class net.luis.utils.io.data.xml.XmlDeclaration
Constructs a new xml declaration with the given version and encoding.
The encoding and standalone flag are set to UTF-8 and false respectively.
XmlDeclaration(Version, Charset) - Constructor for record class net.luis.utils.io.data.xml.XmlDeclaration
Constructs a new xml declaration with the given version and encoding.
The standalone flag is set to false.
XmlDeclaration(Version, Charset, boolean) - Constructor for record class net.luis.utils.io.data.xml.XmlDeclaration
Constructs a new xml declaration with the given version, encoding and standalone flag.
XmlElement - Class in net.luis.utils.io.data.xml
Represents a xml element.
A xml element can be a self-closing element, a container element or a value element.
XmlElement(String) - Constructor for class net.luis.utils.io.data.xml.XmlElement
Constructs a new xml element with the specified name and no attributes.
XmlElement(String, XmlAttributes) - Constructor for class net.luis.utils.io.data.xml.XmlElement
Constructs a new xml element with the specified name and attributes.
XmlElements - Class in net.luis.utils.io.data.xml
Represents a collection of xml elements.
The class provides methods to query, add, remove, and get elements.
XmlElements() - Constructor for class net.luis.utils.io.data.xml.XmlElements
Constructs a new, empty xml elements collection.
XmlElements(List<? extends XmlElement>) - Constructor for class net.luis.utils.io.data.xml.XmlElements
Constructs a new xml elements collection with the given elements.
This constructor will determine the type of the collection based on the elements.
XmlElements(Map<String, ? extends XmlElement>) - Constructor for class net.luis.utils.io.data.xml.XmlElements
Constructs a new xml elements collection with the given elements.
This constructor will determine the type of the collection based on the elements.
XmlHelper - Class in net.luis.utils.io.data.xml
Helper class for xml related operations.
XmlHelper() - Constructor for class net.luis.utils.io.data.xml.XmlHelper
Private constructor to prevent instantiation.
This is a static helper class.
XmlReader - Class in net.luis.utils.io.data.xml
A xml reader that reads xml content from a string or input provider.
The reader expects a xml declaration at the beginning of the content, which can be read with XmlReader.readDeclaration().
After reading the declaration, the xml root element can be read with XmlReader.readXmlElement().
XmlReader(String) - Constructor for class net.luis.utils.io.data.xml.XmlReader
Constructs a new xml reader with the given string and default xml config.
XmlReader(String, XmlConfig) - Constructor for class net.luis.utils.io.data.xml.XmlReader
Constructs a new xml reader with the given string and xml config.
XmlReader(InputProvider) - Constructor for class net.luis.utils.io.data.xml.XmlReader
Constructs a new xml reader with the given input provider and default xml config.
XmlReader(InputProvider, XmlConfig) - Constructor for class net.luis.utils.io.data.xml.XmlReader
Constructs a new xml reader with the given input provider and xml config.
XmlSyntaxException - Exception Class in net.luis.utils.io.data.xml.exception
Thrown to indicate that the syntax of a xml string is invalid.
The exception message will contain the details of the syntax error.
XmlSyntaxException() - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlSyntaxException
Constructs a new xml syntax exception with no details.
XmlSyntaxException(String) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlSyntaxException
Constructs a new xml syntax exception with the specified message.
XmlSyntaxException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlSyntaxException
Constructs a new xml syntax exception with the specified message and cause.
XmlSyntaxException(Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlSyntaxException
Constructs a new xml syntax exception with the specified cause.
XmlTypeException - Exception Class in net.luis.utils.io.data.xml.exception
Thrown when a xml element is not of the expected type.
The exception message will contain the details about the expected and actual types.
XmlTypeException() - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlTypeException
Constructs a new xml type exception with no details.
XmlTypeException(String) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlTypeException
Constructs a new xml type exception with the specified message.
XmlTypeException(String, Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlTypeException
Constructs a new xml type exception with the specified message and cause.
XmlTypeException(Throwable) - Constructor for exception class net.luis.utils.io.data.xml.exception.XmlTypeException
Constructs a new xml type exception with the specified cause.
XmlTypeProvider - Class in net.luis.utils.io.codec.provider
Type provider implementation for xml elements.
This class is a singleton and should be accessed through the XmlTypeProvider.INSTANCE constant.
XmlTypeProvider(boolean) - Constructor for class net.luis.utils.io.codec.provider.XmlTypeProvider
Private constructor to prevent instantiation.
XmlValue - Class in net.luis.utils.io.data.xml
Represents a xml value element.
XmlValue(String, boolean) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name and boolean value.
XmlValue(String, Number) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name and number value.
XmlValue(String, String) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name and string value.
The value will be escaped automatically.
XmlValue(String, XmlAttributes, boolean) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name, attributes and boolean value.
XmlValue(String, XmlAttributes, Number) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name, attributes and number value.
XmlValue(String, XmlAttributes, String) - Constructor for class net.luis.utils.io.data.xml.XmlValue
Constructs a new xml value with the given name, attributes and string value.
The value will be escaped automatically.
XmlWriter - Class in net.luis.utils.io.data.xml
A xml writer for writing xml elements to an output.
The writer expects only one xml element per output.
XmlWriter(OutputProvider) - Constructor for class net.luis.utils.io.data.xml.XmlWriter
Constructs a new xml writer with the default configuration.
XmlWriter(OutputProvider, XmlConfig) - Constructor for class net.luis.utils.io.data.xml.XmlWriter
Constructs a new xml writer with the given configuration.

Z

ZERO - Static variable in class net.luis.utils.util.Chance
A constant value for a chance of 0.0.
This is the default chance.
ZERO - Static variable in class net.luis.utils.util.Version
A constant value for a version number of 0.0.0.
This is the default version number.
ZONED_DATE_TIME - Static variable in interface net.luis.utils.io.codec.Codec
A codec that encodes and decodes zoned date time values.
The underlying zoned date time is converted to and from a string.
A B C D E F G H I J K L M N O P Q R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form