public Object clone() { try { TransHopMeta retval = (TransHopMeta) super.clone(); retval.setID(-1L); retval.setTempId(this.tempId); return retval; } catch (CloneNotSupportedException e) { return null; } }
/** Compare 2 hops. */ public int compareTo(TransHopMeta obj) { return toString().compareTo(obj.toString()); }
public boolean equals(Object obj) { TransHopMeta other = (TransHopMeta) obj; if (from_step == null || to_step == null) return false; return from_step.equals(other.getFromStep()) && to_step.equals(other.getToStep()); }