Top Description Constructors Methods
org.apache.commons.lang3.builder

public abstract Class AbstractSupplier<T, B extends AbstractSupplier<T, B, E>, E extends Throwable>

extends Object
implements FailableSupplier<T, E extends Throwable>
Class Inheritance
All Implemented Interfaces
org.apache.commons.lang3.function.FailableSupplier
Known Direct Subclasses
org.apache.commons.lang3.concurrent.AbstractConcurrentInitializer.AbstractBuilder, org.apache.commons.lang3.concurrent.locks.LockingVisitors.LockVisitor.LVBuilder, org.apache.commons.lang3.Strings.Builder
Type Parameters
<T>
The type of results supplied by this supplier.
<B>
the type of builder.
<E>
The kind of thrown exception or error.
Imports
org.apache.commons.lang3.function.FailableSupplier

Abstracts supplying an instance of T. Use to implement the builder pattern.
Since
3.14.0

Constructor Summary

AccessConstructor and Description
public
AbstractSupplier()

Constructs a new instance.

Method Summary

Modifier and TypeMethod and Description
protected B

Returns:

this instance typed as the subclass type B.
asThis
()

Returns this instance typed as the subclass type B.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractSupplierback to summary
public AbstractSupplier()

Constructs a new instance.

Method Detail

asThisback to summary
protected B asThis()

Returns this instance typed as the subclass type B.

This is the same as the expression:

(B) this
Returns:B

this instance typed as the subclass type B.

Annotations
@SuppressWarnings:unchecked