public static <T> Lazy<T> of(T value) {
        return new Lazy<>(Objects.requireNonNull(value, "value"));
    }
A lazy supplier extension.

<p>The delegate supplier is only called on the first execution of {@link #get()}.
The result is then cached and returned for all subsequent calls.</p>

@param <T> the supplied type
helper/src/main/java/me/lucko/helper/cache/Lazy.java