/** * Advances the iterator to the next position if possible. * * @return {@code true} if the iterator was moved; * {@code false} if it is at the end of its bounds */ public boolean next() { if (hasNext()) { for (SimpleIterator iter : delegates) { iter.next(); } return true; } return false; } }