@Test public void testEmptyIterator() { CyclicIterator<Integer> it = new CyclicIterator<>(Collections.emptyList()); assertThat(it.hasNext(), equalTo(false)); }
@Override public boolean hasNext() { return hasNext; }
CyclicIterator implements Iterator<T> { @Override public boolean hasNext() { return hasNext; } }
CyclicIterator implements Iterator<T> { @Override public boolean hasNext() { return hasNext; } CyclicIterator(final List<T> list); }
CyclicIterator implements Iterator<T> { @Override public boolean hasNext() { return hasNext; } CyclicIterator(final List<T> list); @Override boolean hasNext(); @Override T next(); void stop(); }
CyclicIterator implements Iterator<T> { @Override public boolean hasNext() { return hasNext; } CyclicIterator(final List<T> list); @Override boolean hasNext(); @Override T next(); void stop();  }