Package org.apache.commons.io.build
Class AbstractSupplier<T,B extends AbstractSupplier<T,B>>
java.lang.Object
org.apache.commons.io.build.AbstractSupplier<T,B>
- Type Parameters:
T
- the type of instances to build.B
- the type of builder subclass.
- All Implemented Interfaces:
IOSupplier<T>
- Direct Known Subclasses:
AbstractOrigin
,AbstractOriginSupplier
,WildcardFileFilter.Builder
public abstract class AbstractSupplier<T,B extends AbstractSupplier<T,B>>
extends Object
implements IOSupplier<T>
Abstracts supplying an instance of
T
. Use to implement the builder pattern.- Since:
- 2.12.0
-
Constructor Details
-
AbstractSupplier
public AbstractSupplier()
-
-
Method Details
-
asThis
Returns this instance typed as the proper subclass type.- Returns:
- this instance typed as the proper subclass type.
-