org.vrspace.neurogrid
Class SoftCache.MRUMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byjava.util.LinkedHashMap
              extended byorg.vrspace.neurogrid.SoftCache.MRUMap
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
SoftCache

public class SoftCache.MRUMap
extends java.util.LinkedHashMap

See Also:
Serialized Form

Constructor Summary
SoftCache.MRUMap(int initialSize, float loadFactor, boolean accessOrder)
           
 
Method Summary
protected  boolean removeEldestEntry(java.util.Map.Entry entry)
           
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SoftCache.MRUMap

public SoftCache.MRUMap(int initialSize,
                        float loadFactor,
                        boolean accessOrder)
Method Detail

removeEldestEntry

protected boolean removeEldestEntry(java.util.Map.Entry entry)