Class SupplierAdapter<T>
java.lang.Object
io.github.mmm.code.impl.java.supplier.SupplierAdapter<T>
- Type Parameters:
T- type of the supplied object toget.
- All Implemented Interfaces:
Supplier<T>
Deprecated.
do not use externally. Will most probably be moved (maybe even to mmm-util-*).
Implementation of
Supplier that will remember the provided object and therefore
prevents expensive (lazy) evaluation from being executed more than once.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionSupplierAdapter(Supplier<T> supplier) Deprecated.The constructor.SupplierAdapter(T object) Deprecated.The constructor. -
Method Summary