public boolean sameFeature(JFeature f){
		return this.name.equals(f.name) && this.type.equals(f.type);
	}
public boolean sameFeature ( JFeature f ) { return this . name . equals ( f . name ) && this . type . equals ( f . type ) ; }
Compares the name and type of the 2 features
@param f the feature to compare
@return true if name and type are the same, omits id