Class Callables


  • public final class Callables
    extends Object
    Static utility methods pertaining to the Callable interface.
    Since:
    1.0
    • Method Detail

      • returning

        public static <T> Callable<T> returning​(@Nullable
                                                T value)
        Creates a Callable which immediately returns a preset value each time it is called.