code: @Override
      public IAtom getOther(IAtom atom) {
          if (atoms[0].equals(atom))
              return atoms[1];
          else if (atoms[1].equals(atom))
              return atoms[0];
          return null;
      }
docs: {@inheritDoc}