@Test public void emptyInputGivesEmptyIterator() throws ComponentLookupException { List<String> input = new LinkedList<>(); LazyPrimaryEntityIterator<PrimaryEntity> iterator = new LazyPrimaryEntityIterator<>(input, this.manager); Assert.assertFalse(iterator.hasNext()); }
@Override public boolean hasNext() { return this.iterator.hasNext(); }
LazyPrimaryEntityIterator implements Iterator<E> { @Override public boolean hasNext() { return this.iterator.hasNext(); } }
LazyPrimaryEntityIterator implements Iterator<E> { @Override public boolean hasNext() { return this.iterator.hasNext(); } LazyPrimaryEntityIterator(List<String> identifiers, PrimaryEntityManager<E> entityManager); }
LazyPrimaryEntityIterator implements Iterator<E> { @Override public boolean hasNext() { return this.iterator.hasNext(); } LazyPrimaryEntityIterator(List<String> identifiers, PrimaryEntityManager<E> entityManager); @Override boolean hasNext(); @Override E next(); @Override void remove(); }
LazyPrimaryEntityIterator implements Iterator<E> { @Override public boolean hasNext() { return this.iterator.hasNext(); } LazyPrimaryEntityIterator(List<String> identifiers, PrimaryEntityManager<E> entityManager); @Override boolean hasNext(); @Override E next(); @Override void remove();  }