Home | Click here to send an email to the editor of this weblog. Updated: 6/2/2003; 10:51:54 AM. 

  Synthetic Morpheme
Christopher Taylor's editorials on Science, Technology, Salsa dancing and more

daily link  Wednesday, May 14, 2003

Check out this method for using iterators in Java:
List fooList = allFoos.getList();
for (Iterator fooIterator = fooList.iterator(); fooIterator.hasNext(); ) {
  Foo foo = (Foo) fooIterator.next();
  // do something with foo
}

I never thought of sticking the iterator within a for loop, but I like the way it groups the iteration code into a single structure. 11:40:52 AM  permalink  comment []  


Access to public information just go easier with the National Priorities Project Database [NPPD]. The site provides a search engine that combines a number of public databases into one place. The databases cover information relating to topics such as agriculture, education, labor, environment, transportation and more. 11:35:55 AM  permalink  comment []  

 
May 2003
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Apr   Jun

PicoSearch

A segment of a 360 degree panaoramic shot from the top of Everest

Click to see the XML version of this web page.

Click here to visit the Radio UserLand website.


Copyright 2003 © Christopher Taylor. Click here to send an email to the editor of this weblog.
This work is licensed under a Creative Commons License
Last update: 6/2/2003; 10:51:54 AM.