Interface ValueProvider<T>
- Type Parameters:
T- type of value
public interface ValueProvider<T>
Represents a value provider.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrefresh()Refresh the current value by calling thevalueProvider()value()Get the current valuevoidChange the current value.Returns a new value
-
Method Details
-
value
-
value
-
valueProvider
-
refresh
default void refresh()Refresh the current value by calling thevalueProvider()
-