org.apache.geronimo.console.infomanager
Class ShrinkingMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap
org.apache.geronimo.console.infomanager.ShrinkingMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map, 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.
- 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)
- Specified by:
get
in interface Map
- Overrides:
get
in class TreeMap
getRemainingItems
public Map getRemainingItems()
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.