counts how many features will be returned for the specified layer in the current request concode_field_sep FilterFactory filterFactory concode_elem_sep Logger LOGGER concode_field_sep Query getFeaturesQuery concode_elem_sep Filter createBBoxFilter concode_elem_sep RegionatingStrategy findStrategyByName concode_elem_sep Filter getStyleFilter concode_elem_sep Filter joinFilters concode_elem_sep SimpleFeatureCollection loadFeatureCollection
int function ( Layer arg0 , WMSMapContent arg1 , WMS arg2 , double arg3 ) { Query loc0 = getFeaturesQuery ( arg0 , arg1 , arg2 , arg3 ) ; SimpleFeatureSource loc1 = ( SimpleFeatureSource ) arg0 . getFeatureSource ( ) ; int loc2 = loc1 . getCount ( loc0 ) ; if ( loc2 == - 1 ) { loc2 = loc1 . getFeatures ( loc0 ) . size ( ) ; } return loc2 ; }