@GwtCompatible(emulated=true) public final class Callables extends Object
Static utility methods pertaining to the Callable interface.
| Modifier and Type | Method and Description |
|---|---|
static <T> Callable<T> |
returning(T value)
Creates a
Callable which immediately returns a preset value each time it is called. |