@Override public int hashCode() { return getKey().hashCode(); }
public String toString () { String s = getKey ().toString (); if (s.length () > 80) { s = s.substring (0, 80); } return "Key (" + s + ", " + getCnt () + ")"; // NOI18N }
public int hashCode () { return getKey ().hashCode (); }
public int hashCode () { return getKey ().hashCode (); }
public String toString () { String s = getKey ().toString (); if (s.length () > 80) { s = s.substring (0, 80); } return "Key (" + s + ", " + getCnt () + ")"; // NOI18N }
/** Gets the key represented by this object. * @return the key */ public final Object getKey () { if (key instanceof Dupl) { return ((Dupl)key).getKey (); } else { return key; } }
/** Gets the key represented by this object. * @return the key */ public final Object getKey () { if (key instanceof Dupl) { return ((Dupl)key).getKey (); } else { return key; } }
/** Gets the key represented by this object. * @return the key */ @SuppressWarnings("unchecked") // data structure really weird public T getKey() { if (key instanceof Dupl) { return (T) ((Dupl) key).getKey(); } else { return (T) key; } }