public Feature nextFeature() {
	Feature f = null;
    
	if (hasNextSFeature()) {
	    f = nextSFeature();
	} else if (hasNextEFeature()) {
	    f = nextEFeature();
	} else {
	    // do nothing
	}
	
	return f;
    }
public Feature nextFeature ( ) { Feature f = null ; if ( hasNextSFeature ( ) ) { f = nextSFeature ( ) ; } else if ( hasNextEFeature ( ) ) { f = nextEFeature ( ) ; } else { } return f ; }
Next feature.

@return the feature