|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.util.ObjectCounter<K>
public class ObjectCounter<K>
Count things.
| Constructor Summary | |
|---|---|
ObjectCounter()
|
|
| Method Summary | |
|---|---|
void |
clear()
start over |
int |
count(K h)
|
int |
increment(K h)
Add one. |
Set<K> |
objects()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectCounter()
| Method Detail |
|---|
public int increment(K h)
public int count(K h)
public Set<K> objects()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||