Gridarta Editor
net.sf.gridarta.model.index.MapsIndex Class Reference

Indexes maps by map name. More...

+ Inheritance diagram for net.sf.gridarta.model.index.MapsIndex:
+ Collaboration diagram for net.sf.gridarta.model.index.MapsIndex:

Additional Inherited Members

- Public Member Functions inherited from net.sf.gridarta.model.index.AbstractIndex< MapFile >
void add ( @NotNull final V value, final long timestamp)
 Adds a value to the cache. More...
 
void addIndexListener ( @NotNull final IndexListener< V > listener)
 Adds an IndexListener to be notified of changes. More...
 
void beginUpdate ()
 Starts an update. More...
 
void clear ()
 Clears all values from the index. More...
 
void endUpdate ()
 Ends an update. More...
 
Collection< V > findPartialName ( @NotNull final String name)
 Returns all matching values for a (possibly partial) key name. More...
 
String getName ( @NotNull final V value)
 Returns the name associated with a value. More...
 
boolean hasPending ()
 Returns whether at least one pending value exists. More...
 
void indexingFinished ()
 Should be called after indexing has finished. More...
 
boolean isModified ()
 Returns whether the state was modified since last save. More...
 
void load ( @NotNull final ObjectInputStream objectInputStream) throws IOException
 unchecked More...
 
void remove ( @NotNull final V value)
 Removes a value from the cache. More...
 
void removeIndexListener ( @NotNull final IndexListener< V > listener)
 Removes an IndexListener to be notified of changes. More...
 
removePending ()
 Returns one pending value. More...
 
void save ( @NotNull final ObjectOutputStream objectOutputStream) throws IOException
 Saves the state to an ObjectOutputStream. More...
 
void setName ( @NotNull final V value, final long timestamp, @NotNull final String name)
 Associates a value with a name. More...
 
void setPending ( @NotNull final V value)
 Marks a value as pending. More...
 
int size ()
 Returns the number of values in this cache. More...
 

Detailed Description

Indexes maps by map name.

Allows searching for maps by partial map name.

Author
Andreas Kirschbaum EmptyClass

Definition at line 29 of file MapsIndex.java.


The documentation for this class was generated from the following file: