Converts any supplier into one that caches its value upon first evaluation, returning the same value thereafter. The supplier must not produce null.
null
The type of value being supplied. Must not be nullable.
The supplier to be evaluated at most once.
Create a OnceSupplier from the given supplier.
OnceSupplier