Package org.apache.commons.lang3.builder
Class AbstractSupplier<T,B extends AbstractSupplier<T,B,E>,E extends java.lang.Throwable>
- java.lang.Object
-
- org.apache.commons.lang3.builder.AbstractSupplier<T,B,E>
-
- Type Parameters:
T
- the type of instances to build.B
- the type of builder.E
- The kind of thrown exception or error.
- All Implemented Interfaces:
FailableSupplier<T,E>
- Direct Known Subclasses:
AbstractConcurrentInitializer.AbstractBuilder
public abstract class AbstractSupplier<T,B extends AbstractSupplier<T,B,E>,E extends java.lang.Throwable> extends java.lang.Object implements FailableSupplier<T,E>
Abstracts supplying an instance ofT
. Use to implement the builder pattern.- Since:
- 3.14.0
-
-
Field Summary
-
Fields inherited from interface org.apache.commons.lang3.function.FailableSupplier
NUL
-
-
Constructor Summary
Constructors Constructor Description AbstractSupplier()
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.commons.lang3.function.FailableSupplier
get
-
-