@Test public void empty_iteration() { Iterator<Integer> iter = new ForwardIterator<>(Collections.emptyIterator()); assertFalse(iter.hasNext()); }
@Override public boolean hasNext() { return next_.hasNext(); }
ForwardIterator implements Iterator<T>, Cloneable { @Override public boolean hasNext() { return next_.hasNext(); } }
ForwardIterator implements Iterator<T>, Cloneable { @Override public boolean hasNext() { return next_.hasNext(); } ForwardIterator(Iterator<T> iter); private  ForwardIterator(Chain<T> next); }
ForwardIterator implements Iterator<T>, Cloneable { @Override public boolean hasNext() { return next_.hasNext(); } ForwardIterator(Iterator<T> iter); private  ForwardIterator(Chain<T> next); @Override boolean hasNext(); @Override T next(); @Override ForwardIterator<T> clone(); }
ForwardIterator implements Iterator<T>, Cloneable { @Override public boolean hasNext() { return next_.hasNext(); } ForwardIterator(Iterator<T> iter); private  ForwardIterator(Chain<T> next); @Override boolean hasNext(); @Override T next(); @Override ForwardIterator<T> clone();  }