public class StyleCounter<T>
extends java.lang.Object
NodeStyle
. The style implementation must correctly implement the
equals()
and hashCode()
methods.Constructor and Description |
---|
StyleCounter() |
Modifier and Type | Method and Description |
---|---|
void |
add(T style) |
int |
getCount(T style) |
T |
getMostFrequent() |
java.util.List<T> |
getMostFrequentAll() |