E - le type d'element a compterpublic class Counter<E> extends Object implements Iterable<Map.Entry<E,AtomicInteger>>
| Modifier and Type | Field and Description |
|---|---|
protected Map<E,AtomicInteger> |
data |
| Constructor and Description |
|---|
Counter() |
protected Map<E,AtomicInteger> data
public void add(E e)
e - public String toString()
public Iterator<Map.Entry<E,AtomicInteger>> iterator()
iterator in interface Iterable<Map.Entry<E,AtomicInteger>>Copyright © 2004–2014 CodeLutin. All rights reserved.