@Override public boolean equals(Object other) { if(!(other instanceof UniqueKey)) return false; UniqueKey otherUniqueKey = (UniqueKey)other; return key.equals(otherUniqueKey.key) && this.uniqueID == otherUniqueKey.uniqueID; }
@Override public boolean equals(Object other) { if(!(other instanceof UniqueKey)) return false; UniqueKey otherUniqueKey = (UniqueKey)other; return key.equals(otherUniqueKey.key) && this.uniqueID == otherUniqueKey.uniqueID; }