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