org.geotools.index.rtree.cachefs
Class NodeCache

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byjava.util.LinkedHashMap
              extended byorg.geotools.index.rtree.cachefs.NodeCache
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class NodeCache
extends java.util.LinkedHashMap

DOCUMENT ME!

Author:
Tommaso Nolli
See Also:
Serialized Form

Constructor Summary
NodeCache()
          Constructor
NodeCache(int capacity)
          Constructor
 
Method Summary
protected  boolean removeEldestEntry(java.util.Map.Entry eldest)
           
 
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

NodeCache

public NodeCache()
Constructor


NodeCache

public NodeCache(int capacity)
Constructor

Parameters:
capacity - the capacity of the cache
Method Detail

removeEldestEntry

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


Copyright © GeoTools. All Rights Reserved.