org.compass.core.util.backport.java.util
Class AbstractMap

java.lang.Object
  extended by java.util.AbstractMap
      extended by org.compass.core.util.backport.java.util.AbstractMap
All Implemented Interfaces:
Map
Direct Known Subclasses:
ConcurrentHashMap, ConcurrentSkipListMap, ConcurrentSkipListMap.SubMap, TreeMap, TreeMap.AscendingSubMap, TreeMap.DescendingSubMap

public abstract class AbstractMap
extends AbstractMap

Convenience base class for map implementations that provides helper classes representing simple map entries, both mutable and immutable.

Author:
Doug Lea, Dawid Kurzyniec

Nested Class Summary
static class AbstractMap.SimpleEntry
          An Entry maintaining a key and a value.
static class AbstractMap.SimpleImmutableEntry
          An Entry maintaining an immutable key and value, This class does not support method setValue.
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
(package private)  Set keySet
           
 
Constructor Summary
protected AbstractMap()
          Sole constructor.
 
Method Summary
 Set keySet()
          
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

keySet

transient Set keySet
Constructor Detail

AbstractMap

protected AbstractMap()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

keySet

public Set keySet()

Specified by:
keySet in interface Map
Overrides:
keySet in class AbstractMap


Copyright (c) 2004-2006 The Compass Project.