public class IntegerMap<K> extends AbstractNumericValueMap<K,Integer>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
IntegerMap() |
IntegerMap(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
addTo(K key,
Integer value) |
void |
clear() |
boolean |
containsKey(K key) |
N |
get(K key) |
protected Integer |
getZero() |
boolean |
isEmpty() |
Set<K> |
keySet() |
N |
put(K key,
N value) |
void |
putAll(Map<? extends K,? extends N> m) |
N |
remove(K key) |
int |
size() |
getMax, getMaxValue, getMin, getMinValue, reset, safeGet, sort, sort, writeToclear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringprotected final Integer getZero()
getZero in class AbstractNumericValueMap<K,Integer>public Integer addTo(K key, Integer value)
addTo in class AbstractNumericValueMap<K,Integer>public N get(K key)
public void clear()
public boolean containsKey(K key)
public boolean isEmpty()
public Set<K> keySet()
public N put(K key,
N value)
public void putAll(Map<? extends K,? extends N> m)
public N remove(K key)
public int size()
Copyright © 2011–2017 University of Toronto, Computational Biology Lab. All rights reserved.