public class SafeGet<T>
extends java.lang.Object
| Constructor and Description |
|---|
SafeGet(Silenced.Supplier<T> supplier,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
boolean |
hasFailed() |
public SafeGet(Silenced.Supplier<T> supplier, T defaultValue)
public T get()
public boolean hasFailed()