public FeatureList selectByType(String type) {
		FeatureList list = new FeatureList();
		for (FeatureI f : this) {
			if (f.type().equals(type)) {
				list.add(f);
			}
		}

		return list;
	}
public FeatureList selectByType ( String type ) { FeatureList list = new FeatureList ( ) ; for ( FeatureI f : this ) { if ( f . type ( ) . equals ( type ) ) { list . add ( f ) ; } } return list ; }
Create a list of all features that are of the specified type, as defined by
the type() method of the features.
This might be, for example, "exon" or "CDS".

@param type The type to match.
@return A list of features of the specified type.