public abstract class KeyWithDefaultValue<T> extends Key<T>
Constructor and Description |
---|
KeyWithDefaultValue(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static <T> KeyWithDefaultValue<T> |
create(java.lang.String name,
Factory<? extends T> factory) |
static <T> KeyWithDefaultValue<T> |
create(java.lang.String name,
T defValue) |
abstract T |
getDefaultValue() |
create, equals, findKeyByName, get, get, get, getKeyByIndex, getRequired, hashCode, isIn, set, set, toString
public abstract T getDefaultValue()
public static <T> KeyWithDefaultValue<T> create(java.lang.String name, T defValue)
public static <T> KeyWithDefaultValue<T> create(java.lang.String name, Factory<? extends T> factory)