org.apache.geronimo.console.infomanager
Class ShrinkingMap
java.lang.Object
java.util.AbstractMap
java.util.TreeMap
org.apache.geronimo.console.infomanager.ShrinkingMap
- All Implemented Interfaces:
- Cloneable, Map, Serializable, SortedMap
- public class ShrinkingMap
- extends TreeMap
A Map that can remove items as they are accessed, which makes it
easier to show a list of the remaining items.
- Version:
- $Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
- See Also:
- Serialized Form
Methods inherited from class java.util.TreeMap |
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values |
ShrinkingMap
public ShrinkingMap()
ShrinkingMap
public ShrinkingMap(Map defaults)
isShrinking
public boolean isShrinking()
setShrinking
public void setShrinking(boolean shrinking)
get
public Object get(Object key)
getRemainingItems
public Map getRemainingItems()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.