public final boolean equals(Object o)
    {
      if (!(o instanceof Entry)) return false;
      Entry e = (Entry)o;
      Object k1 = Integer.valueOf(getKey());
      Object k2 = Integer.valueOf(e.getKey());
      if ((k1 == k2) || ((k1 != null) && (k1.equals(k2)))) {
        Object v1 = getValue();
        Object v2 = e.getValue();
        if ((v1 == v2) || ((v1 != null) && (v1.equals(v2)))) return true;
      }
      return false;
    }