Class OneItemFeatureCollection
java.lang.Object
com.vividsolutions.jump.feature.FeatureCollectionWrapper
com.vividsolutions.jump.workbench.model.OneItemFeatureCollection
- All Implemented Interfaces:
FeatureCollection, Iterable<Feature>
Restricts the number of Features in a FeatureCollection to 1.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FeatureCollectionWrapper
addAll, checkNotWrappingSameClass, clear, getEnvelope, getFeatureCollection, getFeatures, getFeatureSchema, getUltimateWrappee, getWrappee, getWrappee, hasWrapper, isEmpty, iterator, query, remove, remove, removeAll, setFeatureCollection, sizeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
OneItemFeatureCollection
-
-
Method Details
-
add
Description copied from interface:FeatureCollectionAdds a feature to this collection.- Specified by:
addin interfaceFeatureCollection- Overrides:
addin classFeatureCollectionWrapper- Parameters:
feature- a Feature to add to the end of this collection
-