A B C D E F G H I L M N O P R S T V W 
All Classes All Packages

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 Handler.apply() method and then the Handler.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

Classes - Class in org.linkki.util
Utility for handling Classes.
clear() - Method in class org.linkki.util.LazyInitializingMap
Clears this map.
collect() - Static method in 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
In anticipation of Java 9 Optional#or.
empty() - Static method in class org.linkki.util.Sequence
Creates an empty Sequence.
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.MetaAnnotation
Returns all meta-annotations present on the given Annotation.
findAnnotatedAnnotationsOn(AnnotatedElement) - Method in class org.linkki.util.MetaAnnotation
Finds all Annotations on the given AnnotatedElement that are annotated with the meta-annotation.
findOn(Annotation) - Method in class org.linkki.util.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(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) - 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"
getReference() - Method in class org.linkki.util.LazyReference
Deprecated.
Use LazyReference.get() instead.
getType(Supplier<Class<? extends T>>, Class<? extends T>) - Static method in class org.linkki.util.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.Classes
Returns the name of the class which is provided by the given supplier.
getValue(Object, Member) - Static method in class org.linkki.util.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.
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.
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
In anticipation of Java 9 Optional#ifPresentOrElse.
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.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.Classes
Instantiates the class which is returned by the given supplier by calling the no-arguments constructor.
IS_PREFIX - Static variable in class org.linkki.util.BeanUtils
 
isPresentOn(Annotation) - Method in class org.linkki.util.MetaAnnotation
Returns true if the meta-annotation is present on the given Annotation, otherwise false;
isPresentOnAnyAnnotationOn(AnnotatedElement) - Method in class org.linkki.util.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.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 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 class org.linkki.util.Sequence
Returns the values/objects in the sequence as unmodifiable list in the order they are added.
lookup(Class<?>) - Static method in class org.linkki.util.LookupProvider
 
LookupProvider - Class in org.linkki.util
JDK-independent provider for MethodHandles.Lookup instances.

M

MemberAccessors - Class in org.linkki.util
Utility class to get easy access to the return value of a method or the current object of a field.
MetaAnnotation<META extends Annotation> - Class in org.linkki.util
Helper class for handling meta-annotations (Annotations with Target ElementType.ANNOTATION_TYPE).
missingAnnotation(Annotation, AnnotatedElement, String) - Method in class org.linkki.util.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.MetaAnnotation
Creates a new MetaAnnotation<META> from the given Annotation class.
of(Collection<? extends T>) - Static method in class org.linkki.util.Sequence
Creates a new Sequence with the elements of the given Collection.
of(T...) - Static method in class org.linkki.util.Sequence
Creates a new Sequence with the given elements.
onlyOneOn(AnnotatedElement) - Method in class org.linkki.util.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
Utility class for Optional.
Optionals.Either<T> - Class in org.linkki.util
Wrapper around an Optional that offers Java 9's Optional#or method.
or(Supplier<? extends Optional<? extends T>>) - Method in class org.linkki.util.Optionals.Either
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.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
 

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> - Class in org.linkki.util
This sequence is a wrapper for a list to create immutable lists easily.
Services - Class in org.linkki.util.service
Helper for ServiceLoader access.
SET_PREFIX - Static variable in class org.linkki.util.BeanUtils
 
stream() - Method in 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
In anticipation of Java 9 Optional#stream.
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 class org.linkki.util.MemberAccessors
 
toString() - Method in class org.linkki.util.Sequence
 
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 class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given elements.
with(Sequence<T>) - Method in class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given sequence of elements.
with(T...) - Method in class org.linkki.util.Sequence
Returns a new Sequence concatenated with the given elements.
withIf(boolean, Supplier<T>) - Method in 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 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 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 All Packages