T
- Value type.public interface Value<T>
Value
interface describes objects that store a value of
the specified type. Such an interface is useful when the value
changes or it is calculated on request.Modifier and Type | Method and Description |
---|---|
T |
value() |
T value()