T
- the type of the supplied valuepublic class OnceSupplier<T> extends Object implements java.util.function.Supplier<T>
Constructor and Description |
---|
OnceSupplier(T value) |
public OnceSupplier(T value)
value
- the value to return from the once supplierpublic T get()
get
in interface java.util.function.Supplier<T>
Copyright © 2023. All Rights Reserved.