org.geotools.index.rtree.cachefs
Class NodeCache

Object
  extended by AbstractMap<K,V>
      extended by HashMap<K,V>
          extended by LinkedHashMap
              extended by NodeCache
All Implemented Interfaces:
Serializable, Cloneable, Map

public class NodeCache
extends LinkedHashMap

DOCUMENT ME!

Author:
Tommaso Nolli
See Also:
Serialized Form
Module:
trunk/gt/modules   (gt-modules.jar) (Maven report) (SVN head)

Constructor Summary
NodeCache()
          Constructor
NodeCache(int capacity)
          Constructor
 
Method Summary
protected  boolean removeEldestEntry(Map.Entry eldest)
           
 
Methods inherited from class LinkedHashMap
clear, containsValue, get
 
Methods inherited from class HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class AbstractMap
equals, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

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(Map.Entry eldest)
Overrides:
removeEldestEntry in class LinkedHashMap


Copyright © 1996-2009 Geotools. All Rights Reserved.