Object
ConstantSupplier<T>
- All Implemented Interfaces:
Supplier<T>
Supplier for constant value.
It is possible to use ordinary lambda to supply constant values like () -> VALUE but the
problem is that calling Object.toString()
for such Supplier
will not show the
VALUE inside.
-
Constructor Summary
-
Method Summary