class ListFeatureCollection extends AbstractFeatureCollection implements Collection<SimpleFeature> {

     @Override
     public int size() {
         return list.size();
     }

     public  ListFeatureCollection(SimpleFeatureType schema);
     public  ListFeatureCollection(SimpleFeatureType schema, List<SimpleFeature> list );
     public  ListFeatureCollection(SimpleFeatureType schema, SimpleFeature array[] );
     public  ListFeatureCollection(SimpleFeatureCollection copy );

}