K - The Class of the key for this HashMapToInstanceListV - The Class of the Value for this HashMapToInstanceListpublic class HashMapToInstanceList<K,V> extends AbstractMapToList<K,V>
| Constructor and Description |
|---|
HashMapToInstanceList()
Creates a new HashMapToList.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInList(K key,
V valueElement)
Returns true if this MapToList contains a List for the given key and that
list contains the given object (this is an instance test against the
specific object, not the value of the object).
|
protected java.util.Set<K> |
getEmptySet()
Creates a new HashSet for use by AbstractMapToList.
|
addAllLists, addAllToListFor, addToListFor, addToListFor, clear, containsAnyInList, containsListFor, equals, getElementInList, getKeySet, getListFor, hashCode, initializeListFor, isEmpty, removeFromListFor, removeListFor, size, sizeOfListFor, toStringpublic HashMapToInstanceList()
protected java.util.Set<K> getEmptySet()
getEmptySet in class AbstractMapToList<K,V>AbstractMapToList.getEmptySet()public boolean containsInList(K key, V valueElement)
containsInList in interface MapToList<K,V>containsInList in class AbstractMapToList<K,V>key - The key for the List being tested.valueElement - The object to find in the List for the given key.