net.walend.collection
Interface AbstractHashMap.Entry
- All Known Implementing Classes:
- AbstractHashMap.SimpleEntry, NullValueHashMap.NullEntry, SoftHashMap.SoftEntry
- Enclosing interface:
- AbstractHashMap
- protected static interface AbstractHashMap.Entry
Sublcass this abstract class and override newEntry to use specialized Entries.
getHash
public int getHash()
getKey
public java.lang.Object getKey()
getValue
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object val)
getNext
public AbstractHashMap.Entry getNext()
setNext
public void setNext(AbstractHashMap.Entry nex)
deepCopy
public AbstractHashMap.Entry deepCopy()
recordAccess
public void recordAccess(Map m)
- This method is invoked whenever the value in an entry is
overwritten by an invocation of put(k,v) for a key k that's already
in the AbstractHashMap.
Copyright (c) 2000, 2001, David Walend