Class Callables
- java.lang.Object
-
- com.google.common.util.concurrent.Callables
-
public final class Callables extends java.lang.Object
Static utility methods pertaining to theCallable
interface.- Since:
- 1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> java.util.concurrent.Callable<T>
returning(T value)
Creates aCallable
which immediately returns a preset value each time it is called.
-