Package com.networknt.schema
Class CachedSupplier<T>
- java.lang.Object
-
- com.networknt.schema.CachedSupplier<T>
-
- Type Parameters:
T
- the type cached
- All Implemented Interfaces:
java.util.function.Supplier<T>
public class CachedSupplier<T> extends java.lang.Object implements java.util.function.Supplier<T>
Supplier that caches the output.
-
-
Constructor Summary
Constructors Constructor Description CachedSupplier(java.util.function.Supplier<T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
-
-
-
Constructor Detail
-
CachedSupplier
public CachedSupplier(java.util.function.Supplier<T> delegate)
-
-