| Constructor and Description |
|---|
Key(String name)
Construct.
|
Key(String name,
T defaultValue)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getDefaultValue() |
boolean |
isDefaultValue(T value)
checks if given value is equal to default value
|
String |
key() |
public Key(String name, T defaultValue)
name - string representation of this keydefaultValue - The default valuepublic Key(String name)
name - string representation of this keypublic boolean isDefaultValue(T value)
IKeyisDefaultValue in interface IKey<T>value - The value to check.public T getDefaultValue()
getDefaultValue in interface IKey<T>Copyright © 2014. All Rights Reserved.