Home
last modified time | relevance | path

Searched refs:peekingIterator (Results 1 – 11 of 11) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DPeekingIteratorTest.java19 import static com.google.common.collect.Iterators.peekingIterator;
67 return Iterators.peekingIterator(iterator); in newTargetIterator()
84 return Iterators.peekingIterator(iterator); in actsLikeIteratorHelper()
102 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testPeekOnEmptyList() local
105 peekingIterator.peek(); in testPeekOnEmptyList()
113 PeekingIterator<?> peekingIterator = in testPeekDoesntChangeIteration() local
114 Iterators.peekingIterator(iterator); in testPeekDoesntChangeIteration()
117 "A", peekingIterator.peek()); in testPeekDoesntChangeIteration()
119 "A", peekingIterator.peek()); in testPeekDoesntChangeIteration()
121 "A", peekingIterator.next()); in testPeekDoesntChangeIteration()
[all …]
DIteratorsTest.java1282 PeekingIterator<String> peek = Iterators.peekingIterator(nonpeek); in testPeekingIteratorShortCircuit()
1284 assertSame(peek, Iterators.peekingIterator(peek)); in testPeekingIteratorShortCircuit()
1285 assertSame(peek, Iterators.peekingIterator((Iterator<String>) peek)); in testPeekingIteratorShortCircuit()
/external/guava/guava-tests/test/com/google/common/collect/
DPeekingIteratorTest.java19 import static com.google.common.collect.Iterators.peekingIterator;
68 return Iterators.peekingIterator(iterator); in newTargetIterator()
85 return Iterators.peekingIterator(iterator); in actsLikeIteratorHelper()
112 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testPeekOnEmptyList() local
115 peekingIterator.peek(); in testPeekOnEmptyList()
123 PeekingIterator<?> peekingIterator = in testPeekDoesntChangeIteration() local
124 Iterators.peekingIterator(iterator); in testPeekDoesntChangeIteration()
127 "A", peekingIterator.peek()); in testPeekDoesntChangeIteration()
129 "A", peekingIterator.peek()); in testPeekDoesntChangeIteration()
131 "A", peekingIterator.next()); in testPeekDoesntChangeIteration()
[all …]
DIteratorsTest.java1595 PeekingIterator<String> peek = Iterators.peekingIterator(nonpeek);
1597 assertSame(peek, Iterators.peekingIterator(peek));
1598 assertSame(peek, Iterators.peekingIterator((Iterator<String>) peek));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java1177 public static <T> PeekingIterator<T> peekingIterator(
1195 @Deprecated public static <T> PeekingIterator<T> peekingIterator(
1251 queue.add(Iterators.peekingIterator(iterator));
/external/guava/guava/src/com/google/common/collect/
DIterators.java1212 public static <T> PeekingIterator<T> peekingIterator(
1230 @Deprecated public static <T> PeekingIterator<T> peekingIterator(
1286 queue.add(Iterators.peekingIterator(iterator));
DRegularImmutableSortedSet.java102 PeekingIterator<E> thisIterator = Iterators.peekingIterator(iterator()); in containsAll()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java220 .put(PeekingIterator.class, Iterators.peekingIterator(Iterators.emptyIterator()))
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/vogar/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...