public class LinearMap<K,V>
extends java.util.AbstractMap<K,V>
LinearMap is a simplistic light-weight
Map designed for use when the number of entries is
small. It is backed by a LinearSet.| Constructor and Description |
|---|
LinearMap()
Creates a
LinearMap. |
LinearMap(int capacity)
Creates a
LinearMap with specified capacity. |
LinearMap(java.util.Map<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
put(K key,
V value) |
V |
remove(java.lang.Object key) |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, size, toString, valuesCopyright (c) 2006 C. Scott Ananian