Searched refs:ThrowsAtEndIterator (Results 1 – 2 of 2) sorted by relevance
182 static class ThrowsAtEndIterator<E> implements Iterator<E> { class in PeekingIteratorTest184 public ThrowsAtEndIterator(Iterable<E> iterable) { in ThrowsAtEndIterator() method in PeekingIteratorTest.ThrowsAtEndIterator218 peekingIterator(new ThrowsAtEndIterator<Integer>(list)); in testPeekingIteratorDoesntAdvancePrematurely()224 iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list)); in testPeekingIteratorDoesntAdvancePrematurely()
192 static class ThrowsAtEndIterator<E> implements Iterator<E> { class in PeekingIteratorTest194 public ThrowsAtEndIterator(Iterable<E> iterable) { in ThrowsAtEndIterator() method in PeekingIteratorTest.ThrowsAtEndIterator228 peekingIterator(new ThrowsAtEndIterator<Integer>(list)); in testPeekingIteratorDoesntAdvancePrematurely()234 iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list)); in testPeekingIteratorDoesntAdvancePrematurely()