public Midlet[] getMidlets() { return (Midlet[]) this.midlets.toArray( new Midlet[ this.midlets.size() ] );
public Midlet[] getMidlets(Project project, Environment environment) { BooleanEvaluator evaluator = environment.getBooleanEvaluator(); ArrayList mids = new ArrayList(); Midlet[] midletsArray = (Midlet[]) this.midlets.toArray( new Midlet[ this.midlets.size() ] );  for (int i = 0; i < midletsArray.length; i++) { Midlet midlet = midletsArray[i]; if (midlet.isActive( evaluator, project )) { mids.add( midlet ); } } midletsArray = (Midlet[]) mids.toArray( new Midlet[ mids.size() ] );  Arrays.sort( midletsArray, new MidletComparator() ); return midletsArray;
	public Midlet[] getMidlets() {		return (Midlet[]) this.midlets.toArray( new Midlet[ this.midlets.size() ] );	}