Пример #1
0
 public Boolean Equals(RoomConnection r)
 {
     return (r.getLeft() == a && r.getRight() == b) || (r.getLeft() == b && r.getRight() == a);
 }
Пример #2
0
 public Boolean Equals(RoomConnection r)
 {
     return((r.getLeft() == a && r.getRight() == b) || (r.getLeft() == b && r.getRight() == a));
 }