public static List < IAtomContainer > getAllAtomContainers ( IRingSet set ) { List < IAtomContainer > atomContainerList = new ArrayList < IAtomContainer > ( ) ; for ( IAtomContainer atomContainer : set . atomContainers ( ) ) { atomContainerList . add ( atomContainer ) ; } return atomContainerList ; }
Returns all the AtomContainer s in a RingSet .