code: @Override
      public boolean contains(IAtom atom) {
          for (int i = 0; i < getAtomCount(); i++) {
              if (atoms[i].equals(atom)) return true;
          }
          return false;
      }
docs: {@inheritDoc}