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