Class MemoryState

Object
ContentState
MemoryState

public class MemoryState extends ContentState
State for MemoryDataStore providing FeatureType and stored features.
Author:
Jody Garnett (Boundless)
  • Constructor Details

    • 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 Details

    • getEntry

      public MemoryEntry getEntry()
      Description copied from class: ContentState
      The entry which maintains the state.
      Overrides:
      getEntry in class ContentState
    • copy

      public MemoryState copy()
      Description copied from class: ContentState
      Copies the state.

      Subclasses should override this method. Any mutable state objects should be cloned.

      Overrides:
      copy in class ContentState
      Returns:
      A copy of the state.