Uses of Interface
org.apache.commons.lang3.function.FailableSupplier
Packages that use FailableSupplier
Package
Description
Assists in creating consistent
equals(Object), toString(), hashCode(), and compareTo(Object) methods.Provides support classes for multi-threaded programming.
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas.-
Uses of FailableSupplier in org.apache.commons.lang3.builder
Classes in org.apache.commons.lang3.builder that implement FailableSupplierModifier and TypeClassDescriptionclassAbstractSupplier<T,B extends AbstractSupplier<T, B, E>, E extends Throwable> Abstracts supplying an instance ofT. -
Uses of FailableSupplier in org.apache.commons.lang3.concurrent
Subinterfaces of FailableSupplier in org.apache.commons.lang3.concurrentModifier and TypeInterfaceDescriptioninterfaceDefines the thread-safe initialization of objects.Classes in org.apache.commons.lang3.concurrent that implement FailableSupplierModifier and TypeClassDescriptionclassAbstractConcurrentInitializer<T,E extends Exception> Abstracts and defines operations forConcurrentInitializerimplementations.static classAbstractConcurrentInitializer.AbstractBuilder<I extends AbstractConcurrentInitializer<T,E>, T, B extends AbstractConcurrentInitializer.AbstractBuilder<I, T, B, E>, E extends Exception> Builds a new instance for subclasses.classA specialized implementation of theConcurrentInitializerinterface based on anAtomicReferencevariable.static classAtomicInitializer.Builder<I extends AtomicInitializer<T>,T> Builds a new instance.classA specializedConcurrentInitializerimplementation which is similar toAtomicInitializer, but ensures that theAbstractConcurrentInitializer.initialize()method is called only once.static classAtomicSafeInitializer.Builder<I extends AtomicSafeInitializer<T>,T> Builds a new instance.classA class that allows complex initialization operations in a background task.static classBackgroundInitializer.Builder<I extends BackgroundInitializer<T>,T> Builds a new instance.classA specializedBackgroundInitializerimplementation that wraps aCallableobject.classA very simple implementation of theConcurrentInitializerinterface which always returns the same object.classThis class provides a generic implementation of the lazy initialization pattern.static classLazyInitializer.Builder<I extends LazyInitializer<T>,T> Builds a new instance.classA specializedBackgroundInitializerimplementation that can deal with multiple background initialization tasks.Methods in org.apache.commons.lang3.concurrent that return FailableSupplierModifier and TypeMethodDescriptionFailableSupplier<T,? extends Exception> AbstractConcurrentInitializer.AbstractBuilder.getInitializer()Gets the initializer supplier called byAbstractConcurrentInitializer.initialize().Methods in org.apache.commons.lang3.concurrent with parameters of type FailableSupplierModifier and TypeMethodDescriptionAbstractConcurrentInitializer.AbstractBuilder.setInitializer(FailableSupplier<T, ? extends Exception> initializer) Sets the initializer supplier called byAbstractConcurrentInitializer.initialize(). -
Uses of FailableSupplier in org.apache.commons.lang3.function
Fields in org.apache.commons.lang3.function declared as FailableSupplierModifier and TypeFieldDescriptionstatic final FailableSupplierFailableSupplier.NULReturns the singleton supplier that always returns null.Methods in org.apache.commons.lang3.function that return FailableSupplierModifier and TypeMethodDescriptionstatic <R> FailableSupplier<R,Throwable> MethodInvokers.asFailableSupplier(Method method) Produces aFailableSupplierfor a given a supplier Method.static <T,E extends Exception>
FailableSupplier<T,E> FailableSupplier.nul()Returns the singleton supplier that always returns null.Methods in org.apache.commons.lang3.function with parameters of type FailableSupplierModifier and TypeMethodDescriptionstatic <T> Supplier<T>Failable.asSupplier(FailableSupplier<T, ?> supplier) Converts the givenFailableSupplierinto a standardSupplier.static <T,E extends Throwable>
TFailable.get(FailableSupplier<T, E> supplier) Invokes a supplier, and returns the result.