@Override public boolean equals(Object obj) { if (obj instanceof HotSpotMonitorValue) { HotSpotMonitorValue other = (HotSpotMonitorValue) obj; return super.equals(obj) && eliminated == other.eliminated && owner.equals(other.owner) && slot.equals(other.slot); } return false; }