for (Object o: collection) { }
If you are interested, android team at had several talks at Google I/O (not just 2012) about optimizing memory usage.