You are viewing a single comment's thread. Return to all comments →
static Iterator func(ArrayList mylist){ Iterator it=mylist.iterator(); while(it.hasNext()){ Object element = it.next(); if(element instanceof String) if(element.equals("###")) break; } return it; }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Iterator
You are viewing a single comment's thread. Return to all comments →