You are viewing a single comment's thread. Return to all comments →
Here's my solution:
Object element = it.next(); if(element instanceof String && String.valueOf(element).equals("###"))
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 →
Here's my solution: