Package org.riskscape.cli
Class FeatureBackedStructMap
java.lang.Object
org.riskscape.cli.FeatureBackedStructMap
A map interface to a SimpleFeature
which
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionFeatureBackedStructMap
(org.geotools.api.feature.simple.SimpleFeature feature) FeatureBackedStructMap
(org.geotools.api.feature.simple.SimpleFeature feature, Set<String> attributeNames) Construct a FeatureBackedStructMap backed by the given feature, filtering to just those attributes named in attributeNames -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
FeatureBackedStructMap
public FeatureBackedStructMap(org.geotools.api.feature.simple.SimpleFeature feature) -
FeatureBackedStructMap
public FeatureBackedStructMap(org.geotools.api.feature.simple.SimpleFeature feature, Set<String> attributeNames) Construct a FeatureBackedStructMap backed by the given feature, filtering to just those attributes named in attributeNames
- Parameters:
feature
- the feature to represent in a mapattributeNames
- the set of attributes to filter the attributes in feature by
-
-
Method Details
-
getFeature
public org.geotools.api.feature.simple.SimpleFeature getFeature() -
entrySet
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object>
-
containsValue
- Specified by:
containsValue
in interfaceMap<String,
Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
toString
-