code: public static <T> Callable<T> returning(final @Nullable T value) {
      return new Callable<T>() {
        @Override
        public T call() {
          return value;
        }
      };
    }
docs: Creates a {@code Callable} which immediately returns a preset value each time it is called.