public class KomodoProperties extends HashMap<String,Object>
String
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
KomodoProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
Object value) |
Object |
getProperty(String key) |
<T> T |
getProperty(String key,
T defaultValue) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public void addProperty(String key, Object value)
key
- the property keyvalue
- the property valuepublic Object getProperty(String key)
key
- the property keypublic <T> T getProperty(String key, T defaultValue)
key
- the property keydefaultValue
- the default value if no property has been setCopyright © 2013–2019. All rights reserved.