org.siebengeisslein.collections
Class HashMap<Key,Value>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.collections.HashMap<Key,Value>
- All Implemented Interfaces:
- java.util.Map<Key,Value>, Instrumented
public class HashMap<Key,Value>
- extends Persistent
- implements java.util.Map<Key,Value>
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
HashMap
public HashMap()
clear
public void clear()
- Specified by:
clear in interface java.util.Map<Key,Value>
incVersion
protected void incVersion()
getVersion
protected int getVersion()
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface java.util.Map<Key,Value>
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey in interface java.util.Map<Key,Value>
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue in interface java.util.Map<Key,Value>
entrySet
public java.util.Set<java.util.Map.Entry<Key,Value>> entrySet()
- Specified by:
entrySet in interface java.util.Map<Key,Value>
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in interface java.util.Map<Key,Value>- Overrides:
equals in class java.lang.Object
get
public Value get(java.lang.Object key)
- Specified by:
get in interface java.util.Map<Key,Value>
hashCode
public int hashCode()
- Specified by:
hashCode in interface java.util.Map<Key,Value>- Overrides:
hashCode in class Persistent
keySet
public java.util.Set<Key> keySet()
- Specified by:
keySet in interface java.util.Map<Key,Value>
put
public Value put(Key key,
Value value)
- Specified by:
put in interface java.util.Map<Key,Value>
putAll
public void putAll(java.util.Map<? extends Key,? extends Value> t)
- Specified by:
putAll in interface java.util.Map<Key,Value>
remove
public Value remove(java.lang.Object key)
- Specified by:
remove in interface java.util.Map<Key,Value>
size
public int size()
- Specified by:
size in interface java.util.Map<Key,Value>
values
public java.util.Collection<Value> values()
- Specified by:
values in interface java.util.Map<Key,Value>