public boolean hasNextFeature(){
  return (currentFeatureIdx < currentFeatures.size());
}

public boolean hasNextFeature ( ) { return ( currentFeatureIdx < currentFeatures . size ( ) ) ; }
checks for next feature .
