edu.emory.mathcs.backport.java.util
Class AbstractMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byedu.emory.mathcs.backport.java.util.AbstractMap
All Implemented Interfaces:
java.util.Map
Direct Known Subclasses:
ConcurrentHashMap, ConcurrentSkipListMap, TreeMap

public abstract class AbstractMap
extends java.util.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 inherited from class java.util.Map
java.util.Map.Entry
 
Constructor Summary
protected AbstractMap()
          Sole constructor.
 
Method Summary
 java.util.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
 

Constructor Detail

AbstractMap

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

Method Detail

keySet

public java.util.Set keySet()