AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ParameterMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String key,
boolean defaultValue)
Gets the configuration value as a boolean.
|
double |
getDouble(String key,
double defaultValue) |
int |
getInt(String key,
int defaultValue) |
void |
putBoolean(String key,
boolean value) |
void |
putDouble(String key,
double value) |
void |
putInt(String key,
int value) |
public int getInt(String key, int defaultValue) throws NumberFormatException
NumberFormatExceptionpublic void putInt(String key, int value)
public boolean getBoolean(String key, boolean defaultValue)
public void putBoolean(String key, boolean value)
public double getDouble(String key, double defaultValue) throws NumberFormatException
NumberFormatExceptionpublic void putDouble(String key, double value)
Copyright © 2011-2015. All Rights Reserved.