public abstract class AbstractMap<K,V> extends Object implements Map<K,V>
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractMap.MapEntry<K,V>
A concrete implementation of the Entry interface to be used
within a Map implementation.
|
Constructor and Description |
---|
AbstractMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Tests whether the map is empty.
|
Iterable<K> |
keySet()
Returns an iterable collection of the keys contained in the map.
|
Iterable<V> |
values()
Returns an iterable collection of the values contained in the map.
|
public boolean isEmpty()