Package org.geotools.data.memory
Class MemoryState
- Object
 - 
- ContentState
 - 
- MemoryState
 
 
 
- 
public class MemoryState extends ContentState
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
Constructors Constructor Description MemoryState(MemoryEntry entry)State for MemoryDataStore providing FeatureType and stored features.MemoryState(MemoryState state)Creates the state from an existing one. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryStatecopy()Copies the state.MemoryEntrygetEntry()The entry which maintains the state.- 
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 Detail
- 
MemoryState
public MemoryState(MemoryEntry entry)
State for MemoryDataStore providing FeatureType and stored features. 
- 
MemoryState
public MemoryState(MemoryState state)
Creates the state from an existing one. 
 - 
 
- 
Method Detail
- 
getEntry
public MemoryEntry getEntry()
Description copied from class:ContentStateThe entry which maintains the state.- Overrides:
 getEntryin classContentState
 
- 
copy
public MemoryState copy()
Description copied from class:ContentStateCopies the state.Subclasses should override this method. Any mutable state objects should be cloned.
- Overrides:
 copyin classContentState- Returns:
 - A copy of the state.
 
 
 - 
 
 -