code: @Override
      public boolean contains(IBond bond) {
          for (int i = 0; i < getBondCount(); i++) {
              if (bonds[i].equals(bond)) return true;
          }
          return false;
      }
docs: {@inheritDoc}