| java.lang.Object java.util.AbstractMap hu.netmind.persistence.MapImpl
MapImpl | public class MapImpl extends AbstractMap implements Container(Code) | | Custom map implementation based on lazy lists. Map is not
thread-safe.
author: Brautigam Robert version: Revision: $Revision$ |
Inner Class :public class MapImplEntrySet extends AbstractSet | |
Inner Class :public class MapImplEntrySetIterator implements Iterator | |
Inner Class :public static class SimpleMapEntry implements Map.Entry | |
Inner Class :public class ObjectWrapper | |
Method Summary | |
public boolean | addAll(Object c) Add all items in the other container. | public void | clear() | public boolean | containsKey(Object key) Return whether this map contains the specified key. | public boolean | containsValue(Object value) Returns whether this map contains one or more of the
specified value. | public Set | entrySet() Returns a set view of this map. | public boolean | equals(Object obj) Determine whether map equals another map in content. | public Object | get(Object key) Get the value for a mapkey. | public String | getItemClassName() | public Long | getLastSerial() Get the serial number of last modification. | public boolean | hasChanged() Returns whether the container changes internally since last save(). | public void | init(StoreContext context, ClassInfo classInfo, Object obj, String attributeName, String itemClassName, Long lastSerial, TimeControl timeControl) Initialize with a default list. | public Object | put(Object key, Object value) Put an item into the map. | public void | reload() | public Object | remove(Object key) Remove a key from the map. | public boolean | retainAll(Object c) Retain all container elements inside the other container. | public void | save(Transaction transaction, Long currentSerial, Set waitingObjects, List events) Save the container to database. | public int | size() | public String | toString() |
addAll | public boolean addAll(Object c)(Code) | | Add all items in the other container.
|
clear | public void clear()(Code) | | |
containsKey | public boolean containsKey(Object key)(Code) | | Return whether this map contains the specified key.
|
containsValue | public boolean containsValue(Object value)(Code) | | Returns whether this map contains one or more of the
specified value.
|
entrySet | public Set entrySet()(Code) | | Returns a set view of this map.
|
equals | public boolean equals(Object obj)(Code) | | Determine whether map equals another map in content.
|
getLastSerial | public Long getLastSerial()(Code) | | Get the serial number of last modification.
|
hasChanged | public boolean hasChanged()(Code) | | Returns whether the container changes internally since last save().
|
reload | public void reload()(Code) | | |
retainAll | public boolean retainAll(Object c)(Code) | | Retain all container elements inside the other container.
|
|
|