Index

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

A

and(TriPredicate<? super T, ? super U, ? super V>) - Method in interface org.linkki.util.function.TriPredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
andThen(Handler) - Method in interface org.linkki.util.handler.Handler
Returns a composed handler that first executes this handler's apply() method and then the apply() method of the given handler.
apply() - Method in interface org.linkki.util.handler.Handler
Called when the handler should be applied.

B

BeanUtils - Class in org.linkki.util
 
BooleanSuppliers - Class in org.linkki.util
 

C

canInvoke() - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
canRead() - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
canWrite() - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
Classes - Class in org.linkki.util.reflection
Utility for handling Classes.
clear() - Method in class org.linkki.util.LazyInitializingMap
Clears this map.
collect() - Static method in record class org.linkki.util.Sequence
Creates a Collector that collects a Stream's elements into a Sequence.
compose(Handler) - Method in interface org.linkki.util.handler.Handler
Returns a composed handler that first applies the before handler, and then applies this handler.
Consumers - Class in org.linkki.util
 
convert(LocalDate) - Static method in class org.linkki.util.TwoDigitYearUtil
Converts the given date and updates the year if it has only two digits.
convert(LocalDateTime) - Static method in class org.linkki.util.TwoDigitYearUtil
Converts the given datetime and updates the year if it has only two digits.

D

DateFormats - Class in org.linkki.util
A registry for date format patterns that changes some rather unsuitable default patterns provided by DateFormat.getDateInstance(int, Locale) such as the German "dd.MM.yyyy" instead of "dd.MM.yy".

E

either(Optional<T>) - Static method in class org.linkki.util.Optionals
Deprecated.
Call Optional.or(Supplier) on the object instead.
empty() - Static method in record class org.linkki.util.Sequence
Creates an empty Sequence.
equals(Object) - Method in record class org.linkki.util.Sequence
Indicates whether some other object is "equal to" this one.
ExceptionSupplier - Class in org.linkki.util
Helper class that for exception suppliers to simplify usage of Optional.orElseThrow(Supplier).

F

findAllOn(Annotation) - Method in class org.linkki.util.reflection.MetaAnnotation
Returns all meta-annotations present on the given Annotation.
findAnnotatedAnnotationsOn(AnnotatedElement) - Method in class org.linkki.util.reflection.MetaAnnotation
Finds all Annotations on the given AnnotatedElement that are annotated with the meta-annotation.
findOn(Annotation) - Method in class org.linkki.util.reflection.MetaAnnotation
Returns the meta-annotation if it is present on the given Annotation.

G

get() - Method in class org.linkki.util.LazyCachingSupplier
Deprecated.
 
get() - Method in class org.linkki.util.LazyReference
 
get(Class<S>) - Static method in class org.linkki.util.service.Services
Finds the single implementation of the service class via ServiceLoader.
get(Class<T>, String) - Static method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
get(Class<T>, String) - Static method in class org.linkki.util.reflection.accessor.PropertyAccessorCache
Deprecated.
as this should only be used internally. Use PropertyAccessor.get(Class, String) instead.
get(K) - Method in class org.linkki.util.LazyInitializingMap
Returns the value the given key maps to.
GET_PREFIX - Static variable in class org.linkki.util.BeanUtils
 
getBeanInfo(Class<?>) - Static method in class org.linkki.util.BeanUtils
Returns the bean info for the given class.
getDeclaredField(Class<?>, String) - Static method in class org.linkki.util.BeanUtils
Returns the class' declared field with the given name.
getField(Class<?>, String) - Static method in class org.linkki.util.BeanUtils
Returns the class' field with the given name.
getIfPresent(K) - Method in class org.linkki.util.LazyInitializingMap
Returns the value the given key maps to.
getMethod(Class<?>, String, Class<?>...) - Static method in class org.linkki.util.BeanUtils
Returns the method with the given name and parameter types.
getMethod(Class<?>, Predicate<Method>) - Static method in class org.linkki.util.BeanUtils
Returns an optional containing the class' method matching the given predicate (empty optional if none matches).
getMethods(Class<?>, Predicate<Method>) - Static method in class org.linkki.util.BeanUtils
Returns the class' methods matching the given predicate.
getPattern(Locale) - Static method in class org.linkki.util.DateFormats
Returns the date pattern for the given locale.
getPropertyName() - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
getPropertyName(Method) - Static method in class org.linkki.util.BeanUtils
Returns the property name from the given method: String getFoo() -> "foo" boolean isBar() -> "bar" void fooBar() -> "fooBar"
getPropertyName(Type, String) - Static method in class org.linkki.util.BeanUtils
Returns the property name from the given method name: getFoo -> "foo" isBar -> "bar" fooBar -> "fooBar"
getPropertyValue(T) - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
Reads the property's value.
getReference() - Method in class org.linkki.util.LazyReference
Deprecated.
Use LazyReference.get() instead.
getType(Member) - Static method in class org.linkki.util.reflection.accessor.MemberAccessors
Deprecated.
use MemberAccessors.getType(Member, Type) instead to be able to handle generic types properly
getType(Member, Type) - Static method in class org.linkki.util.reflection.accessor.MemberAccessors
Returns the type of the given member, either the type of the field, or the return type of the method.
getType(Supplier<Class<? extends T>>, Class<? extends T>) - Static method in class org.linkki.util.reflection.Classes
Wraps the call to the given type supplier with a try-catch-block to catch MirroredTypeException.
getTypeName(Supplier<? extends Class<?>>) - Static method in class org.linkki.util.reflection.Classes
Returns the name of the class which is provided by the given supplier.
getValue(Object, Member) - Static method in class org.linkki.util.reflection.accessor.MemberAccessors
Retrieve the value from the given member (Field or Method) in the given object by calling the method or getting the value from the field.
getValueClass() - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
 
getValueFromField(Object, Field) - Static method in class org.linkki.util.BeanUtils
Returns the object's value for the field with the given name.
getValueFromField(Object, String) - Static method in class org.linkki.util.BeanUtils
Returns the object's value for the field with the given name.

H

Handler - Interface in org.linkki.util.handler
A functional interface to proceed any operation.
hashCode() - Method in record class org.linkki.util.Sequence
Returns a hash code value for this object.
HtmlSanitizer - Class in org.linkki.util
Deprecated.
Use org.linkki.core.util.HtmlSanitizer instead

I

ifPresentOrElse(Optional<T>, Consumer<? super T>, Runnable) - Static method in class org.linkki.util.Optionals
illegalArgumentException(String) - Static method in class org.linkki.util.ExceptionSupplier
Returns a supplier for an IllegalArgumentException with the given message.
illegalArgumentException(String, Throwable) - Static method in class org.linkki.util.ExceptionSupplier
Returns a supplier for an IllegalArgumentException with the given message and cause.
illegalStateException(String) - Static method in class org.linkki.util.ExceptionSupplier
Returns a supplier for an IllegalStateException with the given message.
illegalStateException(String, Throwable) - Static method in class org.linkki.util.ExceptionSupplier
Returns a supplier for an IllegalStateException with the given message and cause.
instantiate(Class<T>) - Static method in class org.linkki.util.reflection.Classes
Instantiates the given class with its no-arguments constructor.
instantiate(Supplier<Class<? extends T>>, Class<? extends T>) - Static method in class org.linkki.util.reflection.Classes
Instantiates the class which is returned by the given supplier by calling the no-arguments constructor.
invoke(T) - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
Invokes the method.
IS_PREFIX - Static variable in class org.linkki.util.BeanUtils
 
isPresentOn(Annotation) - Method in class org.linkki.util.reflection.MetaAnnotation
Returns true if the meta-annotation is present on the given Annotation, otherwise false;
isPresentOnAnyAnnotationOn(AnnotatedElement) - Method in class org.linkki.util.reflection.MetaAnnotation
Returns true if the meta-annotation is present on any Annotation on the given AnnotatedElement, otherwise false;
isRepeatable() - Method in class org.linkki.util.reflection.MetaAnnotation
Returns true if the meta-annotation is @Repeatable.
isRequiredInformationMissing() - Method in interface org.linkki.util.validation.ValidationMarker
Returns true if the marker marks a validation for a mandatory field.
isValuePresent() - Method in class org.linkki.util.LazyReference
Returns whether a cached value is present.
iterator() - Method in record class org.linkki.util.Sequence
 

L

lazy(Supplier<T>) - Static method in class org.linkki.util.LazyReference
 
lazyCaching(Supplier<T>) - Static method in class org.linkki.util.LazyCachingSupplier
Deprecated.
 
LazyCachingSupplier<T> - Class in org.linkki.util
Deprecated.
Since 2.0, use LazyReference instead
LazyInitializingMap<K,V> - Class in org.linkki.util
Key-value store that initializes its values lazily.
LazyInitializingMap(Function<K, V>) - Constructor for class org.linkki.util.LazyInitializingMap
 
LazyReference<T> - Class in org.linkki.util
A Supplier that wraps another Supplier which gets called only once upon the first call to LazyReference.get(); afterwards the value is cached.
LazyReference(Supplier<T>) - Constructor for class org.linkki.util.LazyReference
 
list() - Method in record class org.linkki.util.Sequence
Returns the value of the list record component.
lookup(Class<?>) - Static method in class org.linkki.util.reflection.LookupProvider
 
LookupProvider - Class in org.linkki.util.reflection
JDK-independent provider for MethodHandles.Lookup instances.

M

MemberAccessors - Class in org.linkki.util.reflection.accessor
Utility class to get easy access to the return value of member.
MetaAnnotation<META extends Annotation> - Class in org.linkki.util.reflection
Helper class for handling meta-annotations (Annotations with Target ElementType.ANNOTATION_TYPE).
missingAnnotation(Annotation, AnnotatedElement, String) - Method in class org.linkki.util.reflection.MetaAnnotation
Creates a Supplier for an IllegalArgumentException that names the given Annotation on the AnnotatedElement as not having the meta-annotation and suggests using the checkerMethod to safeguard against this exception.

N

negate() - Method in interface org.linkki.util.function.TriPredicate
Returns a predicate that represents the logical negation of this predicate.
negate(BooleanSupplier) - Static method in class org.linkki.util.BooleanSuppliers
Returns a boolean supplier that represents the logical negation of the given boolean supplier.
NOP_HANDLER - Static variable in interface org.linkki.util.handler.Handler
A handler that does nothing.
nopConsumer() - Static method in class org.linkki.util.Consumers
Consumer that does nothing

O

Objects - Class in org.linkki.util
Provides static utility methods that delegate to Objects and are additionally annotated with SpotBugs null annotations.
of(Class<META>) - Static method in class org.linkki.util.reflection.MetaAnnotation
Creates a new MetaAnnotation<META> from the given Annotation class.
of(Collection<? extends T>) - Static method in record class org.linkki.util.Sequence
Creates a new Sequence with the elements of the given Collection.
of(T...) - Static method in record class org.linkki.util.Sequence
Creates a new Sequence with the given elements.
onlyOneOn(AnnotatedElement) - Method in class org.linkki.util.reflection.MetaAnnotation
Creates a BinaryOperator usable for a Stream.reduce(BinaryOperator) operation on a stream of annotations as returned by MetaAnnotation.findAnnotatedAnnotationsOn(AnnotatedElement) that throws an IllegalArgumentException if there is more than one annotation in the stream.
Optionals - Class in org.linkki.util
Deprecated.
The methods in this class are now implemented by the JDK, rendering this class useless. Use the corresponding methods offered by Optional instead.
Optionals.Either<T> - Class in org.linkki.util
Deprecated.
Call Optional.or(Supplier) on the Optional object instead.
or(Supplier<? extends Optional<? extends T>>) - Method in class org.linkki.util.Optionals.Either
Deprecated.
If a value is present, returns an Optional describing the value, otherwise returns an Optional produced by the supplying function.
or(TriPredicate<? super T, ? super U, ? super V>) - Method in interface org.linkki.util.function.TriPredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
org.linkki.util - package org.linkki.util
 
org.linkki.util.function - package org.linkki.util.function
 
org.linkki.util.handler - package org.linkki.util.handler
 
org.linkki.util.reflection - package org.linkki.util.reflection
 
org.linkki.util.reflection.accessor - package org.linkki.util.reflection.accessor
 
org.linkki.util.service - package org.linkki.util.service
 
org.linkki.util.validation - package org.linkki.util.validation
 

P

PATTERN_DE - Static variable in class org.linkki.util.DateFormats
 
PATTERN_EN - Static variable in class org.linkki.util.DateFormats
 
PATTERN_EN_GB - Static variable in class org.linkki.util.DateFormats
 
PATTERN_EN_US - Static variable in class org.linkki.util.DateFormats
 
PATTERN_ISO - Static variable in class org.linkki.util.DateFormats
 
PropertyAccessor<T,V> - Class in org.linkki.util.reflection.accessor
Allows reading and writing a value from/to an object's property.
PropertyAccessorCache - Class in org.linkki.util.reflection.accessor
Global static cache for PropertyAccessors.

R

register(String, String) - Static method in class org.linkki.util.DateFormats
Registers the given pattern for the given language.
register(Locale, String) - Static method in class org.linkki.util.DateFormats
Registers the given pattern for the given locale.
remove(K) - Method in class org.linkki.util.LazyInitializingMap
Removes the key from the map.
REQUIRED - Static variable in interface org.linkki.util.validation.ValidationMarker
Marks a mandatory field and returns true for isRequiredInformationMissing().
requireNonNull(T, String) - Static method in class org.linkki.util.Objects
Checks that the specified object reference is not null and throws a customized NullPointerException if it is.
requireNonNull(T, Supplier<String>) - Static method in class org.linkki.util.Objects
Checks that the specified object reference is not null and throws a customized NullPointerException if it is.

S

sanitize(String) - Static method in class org.linkki.util.HtmlSanitizer
Deprecated.
Use org.linkki.core.util.HtmlSanitizer instead
Sequence<T> - Record Class in org.linkki.util
This sequence is a wrapper for a list to create immutable lists easily.
Sequence(List<T>) - Constructor for record class org.linkki.util.Sequence
Creates an instance of a Sequence record class.
Services - Class in org.linkki.util.service
Helper for ServiceLoader access.
SET_PREFIX - Static variable in class org.linkki.util.BeanUtils
 
setPropertyValue(T, V) - Method in class org.linkki.util.reflection.accessor.PropertyAccessor
Sets the property to the given value.
stream() - Method in record class org.linkki.util.Sequence
Directly access the stream of the list that contains all the elements of this sequence.
stream(Iterable<T>) - Static method in class org.linkki.util.StreamUtil
 
stream(Optional<T>) - Static method in class org.linkki.util.Optionals
Deprecated.
Call Optional.stream() on the object instead.
StreamUtil - Class in org.linkki.util
 

T

test(T, U, V) - Method in interface org.linkki.util.function.TriPredicate
Evaluates this predicate on the given arguments.
toString() - Method in record class org.linkki.util.Sequence
Returns a string representation of this record class.
TriPredicate<T,U,V> - Interface in org.linkki.util.function
Represents a predicate (boolean-valued function) of three arguments.
TwoDigitYearUtil - Class in org.linkki.util
Recalculates two digit years into four digit years, based on the -80 / +19 rule, for LocalDate and LocalDateTime during the convertToModel conversion.

V

ValidationMarker - Interface in org.linkki.util.validation
Interface for validation message markers.

W

with(Collection<T>) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given elements.
with(Sequence<T>) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given sequence of elements.
with(T...) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given elements.
withIf(boolean, Supplier<T>) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with the element produced by the given Supplier if the condition is true.
withIf(boolean, Supplier<T>...) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with the elements produced by the given Suppliers if the condition is true.
withNewElementsFrom(Collection<T>) - Method in record class org.linkki.util.Sequence
Returns a new Sequence concatenated with those of the given elements that are not already contained in this Sequence.
A B C D E F G H I L M N O P R S T V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form