public void insert(Collection geoms){
  for (Iterator i=geoms.iterator(); i.hasNext(); ) {
    Geometry geom=(Geometry)i.next();
    index.insert(geom.getEnvelopeInternal(),PreparedGeometryFactory.prepare(geom));
  }
}

public void insert ( Collection geoms ) { for ( Iterator i = geoms . iterator ( ) ; i . hasNext ( ) ; ) { Geometry geom = ( Geometry ) i . next ( ) ; index . insert ( geom . getEnvelopeInternal ( ) , PreparedGeometryFactory . prepare ( geom ) ) ; } }
inserts a collection of geometrys into the index .
