| org.space4j.Space
All known Subclasses: org.space4j.implementation.SimpleSpace,
Space | public interface Space extends Serializable(Code) | | The Space where the objects will be stored in RAM.
The Space is typically a data structure like a Map used to store the Objects used by your application.
|
getIndexManager | public IndexManager getIndexManager()(Code) | | Returns the IndexManager in this space.
The IndexManager in this space. |
getObject | public Object getObject(Object key)(Code) | | Gets the Object stored in this Space with this key.
Parameters: key - The key to retrieve the Object from the Space. The object stored in the Space with this key or null with there is no such object. |
getSafeIterator | public Iterator getSafeIterator(Object key)(Code) | | Returns a safe iterator of the underlying collection or map object.
Parameters: key - The key to retrieve the Object from the Space. A safe iterator of the data structure. |
getSafeKeyIterator | public Iterator getSafeKeyIterator(Object key)(Code) | | Returns a safe iterator of the keys of the underlying map object.
Parameters: key - The key to retrieve the Object from the Space. A safe iterator of the keys of the Map. |
putObject | public void putObject(Object key, Object obj)(Code) | | Puts an Object in this Space with this key.
If and Object already exists with this key, the object is replaced by the new one.
Parameters: key - The key to store the Object Parameters: obj - The object to store |
|
|