@Test public void testNextFirst() throws OdpsException { Iterator<String> list = getList(); assertTrue("not empty".equals(list.next())); }
@Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return cache.pollFirst(); }
ListIterator implements Iterator<E> { @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return cache.pollFirst(); } }
ListIterator implements Iterator<E> { @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return cache.pollFirst(); }  }
ListIterator implements Iterator<E> { @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return cache.pollFirst(); }  @Override boolean hasNext(); @Override E next(); @Override void remove(); }
ListIterator implements Iterator<E> { @Override public E next() { if (!hasNext()) { throw new NoSuchElementException(); } return cache.pollFirst(); }  @Override boolean hasNext(); @Override E next(); @Override void remove();  }