| Constructor and Description |
|---|
BasicOption(String key,
T defaultValue)
Initializes me with my key and default value.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getDefaultValue()
Obtains the option's default value.
|
String |
getKey()
Obtains my string key, which may be used for persistence in a
preference store.
|
public final String getKey()
Optionpublic final T getDefaultValue()
OptiongetDefaultValue in interface Option<T>nullCopyright © 2015 Open eHealth Foundation. All rights reserved.