Iterator issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    Iterator issue

    Hi everyone!

    this peace of code is driving me nuts!
    my iterator is supposed to iterate as many times as the elements it contains but this one do a +1 time please help! this is the peace of code:
    Code:
    Iterator<Field> itrItem = fieldList.iterator();
    while(itrItem.hasNext())
    				e.setListField(itrItem.next());
    Last edited by momotaro; Jul 26 '11, 09:52 AM. Reason: add the iterator line
Working...