@Test public void testClipping() { ClippingFeatureCollection clipping = new ClippingFeatureCollection(delegate); SimpleFeatureIterator it = clipping.features(); try { int i = 0; while (it.hasNext()) { it.next(); i++; } assertEquals(8, i); } finally { it.close(); } }
@Override public SimpleFeatureIterator features() { return new ClippingFeatureIterator(delegate.features()); }
ClippingFeatureCollection extends DecoratingSimpleFeatureCollection { @Override public SimpleFeatureIterator features() { return new ClippingFeatureIterator(delegate.features()); } }
ClippingFeatureCollection extends DecoratingSimpleFeatureCollection { @Override public SimpleFeatureIterator features() { return new ClippingFeatureIterator(delegate.features()); } ClippingFeatureCollection(SimpleFeatureCollection delegate); }
ClippingFeatureCollection extends DecoratingSimpleFeatureCollection { @Override public SimpleFeatureIterator features() { return new ClippingFeatureIterator(delegate.features()); } ClippingFeatureCollection(SimpleFeatureCollection delegate); @Override SimpleFeatureIterator features(); @Override int size(); }
ClippingFeatureCollection extends DecoratingSimpleFeatureCollection { @Override public SimpleFeatureIterator features() { return new ClippingFeatureIterator(delegate.features()); } ClippingFeatureCollection(SimpleFeatureCollection delegate); @Override SimpleFeatureIterator features(); @Override int size();  }