public class ConstantSupplier<E> extends Object implements java.util.function.Supplier<E>
| Constructor and Description |
|---|
ConstantSupplier(E value)
Create a new instance for the given constant value
|
public ConstantSupplier(E value)
value - the value to use for every creation callCopyright © 2017. All rights reserved.