Philip Jacob / Whirlycott

Thursday, December 16, 2004

Eclipse Goodie

Filed under: Technology — Philip Jacob @ 6:23 pm

I’m using this little Eclipse goodie every day since I discovered it earlier in the week. It’s a common occurrence that you have a java.util.Collection object reference and want to iterate over it. Check this out:

Eclipse auto-complete for iteration

In Eclipse, after the object ref was assigned to list, I hit ctrl-space and found a wonderful addition to the menu (iterate over collection) that sets up my code with a for() loop and populates everything for me.

Try it. You’ll use it all the time.

One Response to “Eclipse Goodie”

  1. Ebony Haight says:

    Hi Philip,

    I am part of the editorial staff at Addison-Wesley and would be interested in adding you to our team of reviewers. I currently have 2 titles that I feel may be of interest to you, do you have a contact you would be willing to forward me?

    best,
    Ebony Haight

Leave a Reply


Top Searches on StyleFeeder