Package com.powsybl.triplestore.api
Class PropertyBag
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,String>
-
- com.powsybl.triplestore.api.PropertyBag
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,String>
public class PropertyBag extends HashMap<String,String>
- Author:
- Luma ZamarreƱo
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description PropertyBag(List<String> propertyNames, boolean decodeEscapedIdentifiers)
PropertyBag(List<String> propertyNames, boolean removeInitialUnderscoreForIdentifiers, boolean decodeEscapedIdentifiers)
-
Method Summary
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
toString
-
-
-
-
Method Detail
-
asDouble
public double asDouble(String property)
-
asDouble
public double asDouble(String property, double defaultValue)
-
asBoolean
public boolean asBoolean(String property, boolean defaultValue)
-
asInt
public int asInt(String property)
-
asInt
public int asInt(String property, int defaultValue)
-
tabulateLocals
public String tabulateLocals()
-
tabulate
public String tabulate()
-
hashCode
public int hashCode()
-
equals
public final boolean equals(Object obj)
-
isResource
public boolean isResource(String name)
-
isClassProperty
public boolean isClassProperty(String name)
-
isMultivaluedProperty
public boolean isMultivaluedProperty(String name)
-
copy
public PropertyBag copy()
-
-