T
- the type of instances to build.B
- the type of builder subclass.public abstract class AbstractSupplier<T,B extends AbstractSupplier<T,B>> extends java.lang.Object implements IOSupplier<T>
T
. Use to implement the builder pattern.Constructor and Description |
---|
AbstractSupplier() |
Modifier and Type | Method and Description |
---|---|
protected B |
asThis()
Returns this instance typed as the proper subclass type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asSupplier, get
protected B asThis()