-
- Type Parameters:
V- value type
- All Known Subinterfaces:
DefaultAdaptedKeyValue<S,K,O,V>,DefaultAdaptedValue<S,O,V>,DefaultGetter<S,V>,DefaultKeyValue<S,K,V>,DefaultValue<S,V>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Defaultable<V>
Represents a default value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VgetDefaultValue()Gets the default value.
-
-
-
Method Detail
-
getDefaultValue
V getDefaultValue()
Gets the default value. The same value should always be returned.- Returns:
- the default value
-
-