@Test public void hasNext() { Result result = new Result(expected); result.next(); result.next(); Assert.assertFalse(result.hasNext()); }
@Override public boolean hasNext() { return !(data.size() == index); }
Result implements Iterator<URL> { @Override public boolean hasNext() { return !(data.size() == index); } }
Result implements Iterator<URL> { @Override public boolean hasNext() { return !(data.size() == index); } Result(List<URL> searched); }
Result implements Iterator<URL> { @Override public boolean hasNext() { return !(data.size() == index); } Result(List<URL> searched); @Override URL next(); @Override boolean hasNext(); }
Result implements Iterator<URL> { @Override public boolean hasNext() { return !(data.size() == index); } Result(List<URL> searched); @Override URL next(); @Override boolean hasNext();  }