E
- - type of data whose count we are recording.public class DataCount<E> extends Object
public E data
public int count
public DataCount(E data, int count)
data
- - the data element whose count we are recording.count
- - the count for the data element.