Package org.geotools.data.memory
Class MemoryState
Object
ContentState
MemoryState
State for MemoryDataStore providing FeatureType and stored features.
- Author:
- Jody Garnett (Boundless)
-
Field Summary
Fields inherited from class ContentState
batchFeatureEvent, bounds, count, entry, featureType, listeners, transactionState, tx
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryState
(MemoryEntry entry) State for MemoryDataStore providing FeatureType and stored features.MemoryState
(MemoryState state) Creates the state from an existing one. -
Method Summary
Methods inherited from class ContentState
addListener, close, fireBatchFeatureEvent, fireFeatureAdded, fireFeatureEvent, fireFeatureRemoved, fireFeatureUpdated, flush, getBatchFeatureEvent, getBounds, getCount, getFeatureType, getTransaction, hasListener, removeListener, setBounds, setCount, setFeatureType, setTransaction
-
Constructor Details
-
MemoryState
State for MemoryDataStore providing FeatureType and stored features. -
MemoryState
Creates the state from an existing one.
-
-
Method Details
-
getEntry
Description copied from class:ContentState
The entry which maintains the state.- Overrides:
getEntry
in classContentState
-
copy
Description copied from class:ContentState
Copies the state.Subclasses should override this method. Any mutable state objects should be cloned.
- Overrides:
copy
in classContentState
- Returns:
- A copy of the state.
-