T - The type of results supplied by this supplier.B - the type of builder.E - The kind of thrown exception or error.public abstract class AbstractSupplier<T,B extends AbstractSupplier<T,B,E>,E extends Throwable> extends Object implements FailableSupplier<T,E>
T. Use to implement the builder pattern.NUL| Constructor and Description |
|---|
AbstractSupplier()
Constructs a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected B |
asThis()
Returns this instance typed as the subclass type
B. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, nulprotected B asThis()
B.
This is the same as the expression:
(B) this
B.Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.