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
ConstructorsConstructorDescriptionFeatureBackedStructMap(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, waitMethods 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:
containsKeyin interfaceMap<String,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
toString
-