# Uses of Interface
org.apache.commons.lang3.function.FailableSupplier

Packages that use FailableSupplier
Package
Description
org.apache.commons.lang3
Provides highly reusable utility methods, chiefly concerned with adding value to the `java.lang` classes.
org.apache.commons.lang3.builder
Provides classes to create consistent `equals(Object)`, `toString()`, `hashCode()`, and `compareTo(Object)` methods.
org.apache.commons.lang3.concurrent
Provides support classes for multi-threaded programming.
org.apache.commons.lang3.concurrent.locks
Provides support classes for multi-threaded programming.
org.apache.commons.lang3.function
Provides functional interfaces to complement those in `java.lang.function` and utilities for working with Java 8 lambdas.
org.apache.commons.lang3.time
Provides classes and methods to work with dates and durations.

- ## Uses of FailableSupplier in org.apache.commons.lang3

  Classes in org.apache.commons.lang3 that implement FailableSupplier
  Modifier and Type
  Class
  Description
  `static class`
  `Strings.Builder`
  Builds `Strings` instances.

- ## Uses of FailableSupplier in org.apache.commons.lang3.builder

  Classes in org.apache.commons.lang3.builder that implement FailableSupplier
  Modifier and Type
  Class
  Description
  `class`
  `AbstractSupplier<T,B extends AbstractSupplier<T,B,E>,E extends Throwable>`
  Abstracts supplying an instance of `T`.

- ## Uses of FailableSupplier in org.apache.commons.lang3.concurrent

  Subinterfaces of FailableSupplier in org.apache.commons.lang3.concurrent
  Modifier and Type
  Interface
  Description
  `interface`
  `ConcurrentInitializer<T>`
  Defines the thread-safe initialization of objects.
  Classes in org.apache.commons.lang3.concurrent that implement FailableSupplier
  Modifier and Type
  Class
  Description
  `class`
  `AbstractConcurrentInitializer<T,E extends Exception>`
  Abstracts and defines operations for `ConcurrentInitializer` implementations.
  `static class`
  `AbstractConcurrentInitializer.AbstractBuilder<I extends AbstractConcurrentInitializer<T,E>,T,B extends AbstractConcurrentInitializer.AbstractBuilder<I,T,B,E>,E extends Exception>`
  Builds a new instance for subclasses.
  `class`
  `AtomicInitializer<T>`
  A specialized implementation of the `ConcurrentInitializer` interface based on an `AtomicReference` variable.
  `static class`
  `AtomicInitializer.Builder<I extends AtomicInitializer<T>,T>`
  Builds a new instance.
  `class`
  `AtomicSafeInitializer<T>`
  A specialized `ConcurrentInitializer` implementation which is similar to `AtomicInitializer`, but ensures that the `AbstractConcurrentInitializer.initialize()` method is called only once.
  `static class`
  `AtomicSafeInitializer.Builder<I extends AtomicSafeInitializer<T>,T>`
  Builds a new instance.
  `class`
  `BackgroundInitializer<T>`
  A class that allows complex initialization operations in a background task.
  `static class`
  `BackgroundInitializer.Builder<I extends BackgroundInitializer<T>,T>`
  Builds a new instance.
  `class`
  `CallableBackgroundInitializer<T>`
  A specialized `BackgroundInitializer` implementation that wraps a `Callable` object.
  `class`
  `ConstantInitializer<T>`
  A very simple implementation of the `ConcurrentInitializer` interface which always returns the same object.
  `class`
  `LazyInitializer<T>`
  This class provides a generic implementation of the lazy initialization pattern.
  `static class`
  `LazyInitializer.Builder<I extends LazyInitializer<T>,T>`
  Builds a new instance.
  `class`
  `MultiBackgroundInitializer`
  A specialized `BackgroundInitializer` implementation that can deal with multiple background initialization tasks.
  Methods in org.apache.commons.lang3.concurrent that return FailableSupplier
  Modifier and Type
  Method
  Description
  `FailableSupplier<T,? extends Exception>`
  AbstractConcurrentInitializer.AbstractBuilder.`getInitializer()`
  Gets the initializer supplier called by `AbstractConcurrentInitializer.initialize()`.
  Methods in org.apache.commons.lang3.concurrent with parameters of type FailableSupplier
  Modifier and Type
  Method
  Description
  `B`
  AbstractConcurrentInitializer.AbstractBuilder.`setInitializer(FailableSupplier<T,? extends Exception> initializer)`
  Sets the initializer supplier called by `AbstractConcurrentInitializer.initialize()`.

- ## Uses of FailableSupplier in org.apache.commons.lang3.concurrent.locks

  Classes in org.apache.commons.lang3.concurrent.locks that implement FailableSupplier
  Modifier and Type
  Class
  Description
  `static class`
  `LockingVisitors.LockVisitor.LVBuilder<O,L,B extends LockingVisitors.LockVisitor.LVBuilder<O,L,B>>`
  Builds `LockingVisitors.LockVisitor` instances.
  `static class`
  `LockingVisitors.ReadWriteLockVisitor.Builder<O>`
  Builds `LockingVisitors.LockVisitor` instances.
  `static class`
  `LockingVisitors.ReentrantLockVisitor.Builder<O>`
  Builds `LockingVisitors.LockVisitor` instances.
  `static class`
  `LockingVisitors.StampedLockVisitor.Builder<O>`
  Builds `LockingVisitors.LockVisitor` instances.

- ## Uses of FailableSupplier in org.apache.commons.lang3.function

  Fields in org.apache.commons.lang3.function declared as FailableSupplier
  Modifier and Type
  Field
  Description
  `static final FailableSupplier`
  FailableSupplier.`NUL`
  Returns the singleton supplier that always returns null.
  Methods in org.apache.commons.lang3.function that return FailableSupplier
  Modifier and Type
  Method
  Description
  `static <R> FailableSupplier<R,Throwable>`
  MethodInvokers.`asFailableSupplier(Method method)`
  Produces a `FailableSupplier` for a given a supplier Method.
  `static <T, E extends Exception>
  FailableSupplier<T,E>`
  FailableSupplier.`nul()`
  Gets the singleton supplier that always returns null.
  Methods in org.apache.commons.lang3.function with parameters of type FailableSupplier
  Modifier and Type
  Method
  Description
  `static <T> Supplier<T>`
  Failable.`asSupplier(FailableSupplier<T,?> supplier)`
  Converts the given `FailableSupplier` into a standard `Supplier`.
  `static <T, E extends Throwable>
  T`
  Failable.`get(FailableSupplier<T,E> supplier)`
  Invokes a supplier, and returns the result.

- ## Uses of FailableSupplier in org.apache.commons.lang3.time

  Methods in org.apache.commons.lang3.time with parameters of type FailableSupplier
  Modifier and Type
  Method
  Description
  `<T, E extends Throwable>
  T`
  StopWatch.`getT(FailableSupplier<T,E> supplier)`
  Delegates to `get()` while recording the duration of the call.