public class ObjectCounter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ObjectCounter.Counter |
Modifier and Type | Field and Description |
---|---|
private java.util.Map |
counts |
Constructor and Description |
---|
ObjectCounter() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object o) |
int |
count(java.lang.Object o) |