Modifier and Type | Method and Description |
---|---|
T |
get() |
static <P extends Provider<T>,T> |
provider(P delegate)
Returns a
Provider that caches the value from the given delegate provider. |
static java.lang.Object |
reentrantCheck(java.lang.Object currentInstance,
java.lang.Object newInstance)
Checks to see if creating the new instance has resulted in a recursive call.
|
public static java.lang.Object reentrantCheck(java.lang.Object currentInstance, java.lang.Object newInstance)
IllegalStateException
is thrown.