Interface Producer<T>

Type Parameters:
T - the returned type
All Superinterfaces:
Kind<Producer<?>,T>, ProducerOf<T>, Recoverable
All Known Implementing Classes:
MemoizedProducer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public non-sealed interface Producer<T> extends ProducerOf<T>, Recoverable
This interface represents a function without any parameter. Similar to Supplier but with additional functionality like the ability to memoize the result.