public marks

PUBLIC MARKS from projects with tag loop

11 February 2007 10:30

java.net: Nuances of the Java 5.0 for-each Loop

by 1 other
Item 9. Consider returning Iterable views rather than implementing Iterable. The Java collections classes can be used in for-each loops because they implement java.lang.Iterable. If a class implements java.lang.Iterable, then all its subclasses inheri

projects's TAGS related to tag loop

array +   call +   class +   code +   compiler +   each +   example +   have +   integer +   interface +   item +   iterable +   iteration +   iterator +   java +   list +   Liszt +   method +   next +   null +   only +   optimization +   over +   public +   randomaccess +   reply +   results +   resultset +   return +   that +   this +   total +   Using +   util +   view +   which +   with +