[ImageJ-devel] Simplifying loops?

Johannes Schindelin Johannes.Schindelin at gmx.de
Mon Jun 14 11:19:46 CDT 2010


Hi,

I wonder whether we can shorten

	while (cursor.hasNext()) {
		cursor.fwd();
		// meat of the loop
	}

to

	while (cursor.fwd()) {
		// meat of the loop
	}

?

Ciao,
Dscho





More information about the ImageJ-devel mailing list