public class DefaultSupplier extends Object implements java.util.function.Supplier<Object>
Constructor and Description |
---|
DefaultSupplier(java.util.function.Supplier<Object> supplier,
String description) |
public DefaultSupplier(java.util.function.Supplier<Object> supplier, String description)
supplier
- the valuedescription
- a description of the default valuepublic Object get()
get
in interface java.util.function.Supplier<Object>
public String getDescription()
Copyright © 2023. All Rights Reserved.