| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN |
| Constructor and Description |
|---|
CounterMap() |
CounterMap(Collection<T> objects) |
CounterMap(Collection<T> objects,
int start) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T obj,
int start) |
boolean |
contains(T obj) |
Pair<T,Integer> |
get(T obj) |
int |
getCount(T obj) |
Pair<T,Integer> |
getMax() |
int |
increment(T obj) |
Iterator<Pair<T,Integer>> |
iterator() |
int |
remove(T obj) |
int |
size() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final int UNKNOWN
public CounterMap()
public CounterMap(Collection<T> objects)
public CounterMap(Collection<T> objects, int start)
Copyright © 2015 Molindo GmbH. All Rights Reserved.