of<T> static method

Supplier<T> of<T>(
  1. T t
)

Implementation

static Supplier<T> of<T>(final T t) {
  return () => t;
}