public abstract class AbstractCollectionMap<K,V> extends LinkedHashMap<K,Collection<V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractCollectionMap() |
AbstractCollectionMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addTo(K key,
Collection<V> values) |
boolean |
addTo(K key,
V value) |
protected abstract Collection<V> |
getEmptyCollection() |
void |
reset(K key) |
Collection<V> |
safeGet(K key) |
List<K> |
sort() |
List<K> |
sort(boolean descending) |
void |
writeTo(PrintStream out) |
clear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic AbstractCollectionMap()
public AbstractCollectionMap(int initialCapacity)
public boolean addTo(K key, Collection<V> values)
protected abstract Collection<V> getEmptyCollection()
public void reset(K key)
public Collection<V> safeGet(K key)
public void writeTo(PrintStream out)
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.