Package org.forgerock.util
package org.forgerock.util
Provides common interfaces and classes.
-
ClassDescriptionAn
Runnablefunctional interface which can throw a checked Exception.AsyncFunction<VIN,VOUT, E extends Exception> An asynchronousFunctionwhich returns a result at some point in the future.BiFunction<T,U, R, E extends Exception> ABiFunctionfunctional interface which can throw a checked Exception.This class can be used for filtering string elements by using blacklists and/or whitelists.Common utility methods for Closeables.AsyncFunctionthat silently closes an input-parameter after a delegate-function'sAsyncFunction.apply(Object)is completed.Functionthat silently closes an input-parameter after a delegate-function'sFunction.apply(Object)is invoked.AConsumerfunctional interface which can throw a checked Exception.High-level interface to theWatchServiceAPI for detecting filesystem change events.EnumValueOfHelper<E extends Enum<E>>Provides aEnumValueOfHelper.valueOf(String)method as a replacement for the implicitly declared enum functionvalueOf(String), which has the advantage of not throwing exceptions when thenameargument isnullor cannot be found in the enum's values.Factory<T>A factory interface.A synchronous function which returns a result immediately.Indexed<T>Interface of an object that can be indexed with a unique key.Utility methods for interacting with lambdas that throw exceptions.LazyList<E>A list with lazy initialization.LazyMap<K,V> A map with lazy initialization.LazySupplier<T,E extends Exception> ASupplierthat lazily computes a value the first time it is accessed and then caches the result to return on subsequent requests.Wraps another map.Provides methods for dynamically loading classes.MapDecorator<K,V> Wraps another map.NonExpiringCache<K,V> Allows the Caching of an object.Common utility methods for Objects.Option<T>A configuration option whose value can be stored in a set ofOptions.A set of options which can be used for customizing the behavior of HTTP clients and servers.Pair<F,S> Ordered pair of arbitrary objects.PerItemEvictionStrategyCache is a thread-safe write-through cache.APredicatefunctional interface which can thrown a checked Exception.Exposes a range of integer values as a set.A input parameter-validating utility class using fluent invocation:Utility class for signing and verifying signatures.Utility methods for operating on IO streams.Common utility methods for Strings.ASupplierfunctional interface which can throw a checked Exception.Common utility methods for Threads.Deprecated.
Strings,Closeables,ObjectsorThreadsinstead.