Package org.linkki.util
@DefaultAnnotationForFields(edu.umd.cs.findbugs.annotations.NonNull.class)
@DefaultAnnotationForParameters(edu.umd.cs.findbugs.annotations.NonNull.class)
@DefaultAnnotationForMethods(edu.umd.cs.findbugs.annotations.NonNull.class)
package org.linkki.util
-
ClassDescriptionA 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".Helper class that for exception suppliers to simplify usage ofOptional.orElseThrow(Supplier).Deprecated.Deprecated.Since 2.0, useLazyReferenceinsteadLazyInitializingMap<K,V> Key-value store that initializes its values lazily.ASupplierthat wraps anotherSupplierwhich gets called only once upon the first call toLazyReference.get(); afterwards the value is cached.Providesstaticutility methods that delegate toObjectsand are additionally annotated with SpotBugsnullannotations.Deprecated.The methods in this class are now implemented by the JDK, rendering this class useless.Deprecated.CallOptional.or(Supplier)on theOptionalobject instead.Sequence<T>This sequence is a wrapper for a list to create immutable lists easily.Recalculates two digit years into four digit years, based on the -80 / +19 rule, forLocalDateandLocalDateTimeduring the convertToModel conversion.
org.linkki.core.util.HtmlSanitizerinstead