예제 #1
0
  @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;
  }
예제 #2
0
 public EquipYPartitionValue(EquipYPartitionValue v) {
   super();
   this.yStart = v.getYStart();
   this.yEnd = v.getYEnd();
   this.number = v.getNumber();
 }