Class Callables
- java.lang.Object
-
- com.google.common.util.concurrent.Callables
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Callable<T>
returning(T value)
Creates aCallable
which immediately returns a preset value each time it is called.
-