public class VoteCounter<K> extends LinkedHashMap<K,Double>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VoteCounter() |
| Modifier and Type | Method and Description |
|---|---|
Set<K> |
getWinners() |
void |
increment(K key) |
void |
increment(K key,
Double value) |
clear, containsValue, get, removeEldestEntryclone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringCopyright © 2014 University of Tartu. All Rights Reserved.