Interface Supplied<T>
- Type Parameters:
T- the supplied value type
public interface Supplied<T>
A supplied value.
- Author:
- Paul Ferraro
-
Field Summary
Fields -
Method Summary
-
Field Details
-
SIMPLE
-
-
Method Details
-
get
Returns the supplied value, created from the specified factory if necessary.- Parameters:
factory- a value supplier- Returns:
- the supplied value
-
cached
A cached supplied value.- Type Parameters:
T- the supplied value type- Returns:
- the supplied or cached value
-
simple
A simple supplied value.- Type Parameters:
T-- Returns:
- the supplied value
-