@Override public boolean equals(Object o) { if (o == this) return true; if (o instanceof EquipYPartitionValue) { EquipYPartitionValue t = (EquipYPartitionValue) o; if (this.yStart == t.getYStart() && this.yEnd == t.getYEnd() && this.number == t.getNumber()) return true; } return false; }
public EquipYPartitionValue(EquipYPartitionValue v) { super(); this.yStart = v.getYStart(); this.yEnd = v.getYEnd(); this.number = v.getNumber(); }