Tuesday, February 19, 2013

Stephanie Jillian Benito


Here are some pictures of my little one.

At birth

1st Month
2nd Month


3rd Month


4th Month

5th Month


6th Month

7th Month

8th Month

9th Month

10th Month
It's less than 2 months and she will be turning one year old.








Iterating over List elements

The common way to iterate over List elements:

List list;
for (int i = 0; i < list.size(); i++) {
    doSomething(list.get(i));
}

The correct way to iterate polymorphic List is via Iterator or for-each loop:

List list;
for (Iterator it = list.iterator(); it.hasNext(); ) {
    doSomething(it.next());
}

// for each
for (E elem : list) {
    doSomething(elem);
Related Posts Plugin for WordPress, Blogger...

Blog List