A B C D E F G H I L M N O P R S T V W
All Classes All Packages
All Classes All Packages
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 theHandler.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
- compose(Handler) - Method in interface org.linkki.util.handler.Handler
-
Returns a composed handler that first applies the
beforehandler, 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
Annotationson the givenAnnotatedElementthat 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
- 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.HtmlSanitizerinstead
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
IllegalArgumentExceptionwith the given message. - illegalArgumentException(String, Throwable) - Static method in class org.linkki.util.ExceptionSupplier
-
Returns a supplier for an
IllegalArgumentExceptionwith the given message and cause. - illegalStateException(String) - Static method in class org.linkki.util.ExceptionSupplier
-
Returns a supplier for an
IllegalStateExceptionwith the given message. - illegalStateException(String, Throwable) - Static method in class org.linkki.util.ExceptionSupplier
-
Returns a supplier for an
IllegalStateExceptionwith 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
- isPresentOnAnyAnnotationOn(AnnotatedElement) - Method in class org.linkki.util.MetaAnnotation
-
Returns
trueif the meta-annotation is present on anyAnnotationon the givenAnnotatedElement, otherwisefalse; - isRepeatable() - Method in class org.linkki.util.MetaAnnotation
-
Returns
trueif the meta-annotation is@Repeatable. - isRequiredInformationMissing() - Method in interface org.linkki.util.validation.ValidationMarker
-
Returns
trueif 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
LazyReferenceinstead - 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
Supplierthat wraps anotherSupplierwhich gets called only once upon the first call toLazyReference.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.Lookupinstances.
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
- missingAnnotation(Annotation, AnnotatedElement, String) - Method in class org.linkki.util.MetaAnnotation
-
Creates a
Supplierfor anIllegalArgumentExceptionthat names the givenAnnotationon theAnnotatedElementas not having the meta-annotation and suggests using thecheckerMethodto 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
staticutility methods that delegate toObjectsand are additionally annotated with SpotBugsnullannotations. - of(Class<META>) - Static method in class org.linkki.util.MetaAnnotation
-
Creates a new
MetaAnnotation<META>from the givenAnnotationclass. - of(Collection<? extends T>) - Static method in class org.linkki.util.Sequence
-
Creates a new
Sequencewith the elements of the givenCollection. - of(T...) - Static method in class org.linkki.util.Sequence
-
Creates a new
Sequencewith the given elements. - onlyOneOn(AnnotatedElement) - Method in class org.linkki.util.MetaAnnotation
-
Creates a
BinaryOperatorusable for aStream.reduce(BinaryOperator)operation on a stream of annotations as returned byMetaAnnotation.findAnnotatedAnnotationsOn(AnnotatedElement)that throws anIllegalArgumentExceptionif 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
Optionalthat 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
Optionaldescribing the value, otherwise returns anOptionalproduced 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
trueforisRequiredInformationMissing(). - requireNonNull(T, String) - Static method in class org.linkki.util.Objects
-
Checks that the specified object reference is not
nulland throws a customizedNullPointerExceptionif it is. - requireNonNull(T, Supplier<String>) - Static method in class org.linkki.util.Objects
-
Checks that the specified object reference is not
nulland throws a customizedNullPointerExceptionif it is.
S
- sanitize(String) - Static method in class org.linkki.util.HtmlSanitizer
-
Deprecated.Use
org.linkki.core.util.HtmlSanitizerinstead - 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
ServiceLoaderaccess. - 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
LocalDateandLocalDateTimeduring 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
Sequenceconcatenated with the given elements. - with(Sequence<T>) - Method in class org.linkki.util.Sequence
-
Returns a new
Sequenceconcatenated with the given sequence of elements. - with(T...) - Method in class org.linkki.util.Sequence
-
Returns a new
Sequenceconcatenated with the given elements. - withIf(boolean, Supplier<T>) - Method in class org.linkki.util.Sequence
- withIf(boolean, Supplier<T>...) - Method in class org.linkki.util.Sequence
- withNewElementsFrom(Collection<T>) - Method in class org.linkki.util.Sequence
All Classes All Packages