/** 
   * Our Entry class - an inner class to keep track of entries and
   * their access counts.
   */
  protected static class Entry {
    private int count;
    private Object value;
    /** Default constructor */
    Entry() { }
    /** The expected constructor */
    Entry(Object v) { count = 1; value = v; }
    /** Increment the Entry's count */
    public int incrementCount() { return ++count; }
    /** Return the count */
    public int count() { return count; }
    /** Return the value */
    public Object value() { return value; }
    /** For visualization purposes */
    public String toString() { return "[" + count + "," + value + "]"; }
  }
} // End of FavoriteList class