mam.utility
Class AgedMap


public class AgedMap


Field Summary
 protected Mapm_map
           

Constructor Summary
AgedMap()
           

Method Summary
 booleancontainsKey(Object key)
           
 voidfreshen(Object key)
           
 CollectiongetEntries()
           
 CollectiongetExpiredEntries()
           
 protected MapgetMap()
           
 voidhalfLife()
           
 voidput(Object key, Object value)
           
 voidput(Object key, AgedEntry entry)
           
 voidremove(Object key)
           
 voidremoveExpiredEntries()
           
 protected voidsetMap(Map map)
           
 StringtoDebugString()
           

Field Detail

m_map

protected Map m_map
Constructor Detail

AgedMap

public AgedMap()
Method Detail

containsKey

public boolean containsKey(Object key)

freshen

public void freshen(Object key)

getEntries

public Collection getEntries()

getExpiredEntries

public Collection getExpiredEntries()

getMap

protected Map getMap()

halfLife

public void halfLife()

put

public void put(Object key, Object value)

put

public void put(Object key, AgedEntry entry)

remove

public void remove(Object key)

removeExpiredEntries

public void removeExpiredEntries()

setMap

protected void setMap(Map map)

toDebugString

public String toDebugString()