Package org.geotools.feature.collection

Examples of org.geotools.feature.collection.FilteringSimpleFeatureCollection.accepts()


    }
   
    public void testVisitor() throws IOException {
        Filter filter = ff.equal(ff.property("someAtt"), ff.literal("1"), false);
        SimpleFeatureCollection collection = new FilteringSimpleFeatureCollection(delegate, filter);
        collection.accepts(new FeatureVisitor() {
           
            public void visit(Feature feature) {
                assertEquals(1, feature.getProperty("someAtt").getValue());
               
            }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.