/* * Pehr Hovey * MAT259 Project 1 Winter 2009 * CountEntry.java * Simple mapping of a String label to a count (int). * Having an arraylist of these makes it easy to sort them by * */ public class CountEntry{ //implements Comparable { String label; int count; CountEntry(String _label, int _count){ label = _label; count = _count; } public String toString(){ return label+"->"+count; } }