Class MruMap.InnerMruList
- java.lang.Object
-
- org.onemind.commons.java.datastructure.MruList
-
- org.onemind.commons.java.datastructure.MruMap.InnerMruList
-
- All Implemented Interfaces:
java.lang.Iterable,java.util.Collection,java.util.Set
- Enclosing class:
- MruMap
private class MruMap.InnerMruList extends MruList
For MruMap implementation- Version:
- $Id: MruMap.java,v 1.3 2004/10/31 15:57:55 thlee Exp $ $Name: $
- Author:
- TiongHiang Lee (thlee@onemindsoft.org)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.onemind.commons.java.datastructure.MruList
MruList.MruEntry, MruList.MruIterator
-
-
Constructor Summary
Constructors Constructor Description InnerMruList(long size, long timeout)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexpireEntry(java.lang.Object obj)Remove the entry from the MruListprotected voidtruncateEntry(java.lang.Object obj)Remove the object from the MruList-
Methods inherited from class org.onemind.commons.java.datastructure.MruList
access, add, addAll, clear, contains, containsAll, expireEntries, getLastAccessTime, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, truncateEntries
-
-
-
-
Method Detail
-
truncateEntry
protected void truncateEntry(java.lang.Object obj)
Remove the object from the MruList- Overrides:
truncateEntryin classMruList- Parameters:
obj- the object
-
expireEntry
protected void expireEntry(java.lang.Object obj)
Remove the entry from the MruList- Overrides:
expireEntryin classMruList- Parameters:
obj- expire the entry
-
-