Uses of Interface
com.google.common.collect.PeekingIterator
Packages that use PeekingIterator
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of PeekingIterator in com.google.common.collect
Classes in com.google.common.collect that implement PeekingIteratorModifier and TypeClassDescriptionprivate static class
Implementation of PeekingIterator that avoids peeking unless necessary.private final class
Deprecated.Fields in com.google.common.collect with type parameters of type PeekingIteratorModifier and TypeFieldDescription(package private) final Queue
<PeekingIterator<T>> Iterators.MergingIterator.queue
Methods in com.google.common.collect that return PeekingIteratorModifier and TypeMethodDescriptionstatic <T> PeekingIterator
<T> Iterators.peekingIterator
(PeekingIterator<T> iterator) Deprecated.no need to use thisstatic <T> PeekingIterator
<T> Iterators.peekingIterator
(Iterator<? extends T> iterator) Returns aPeekingIterator
backed by the given iterator.Methods in com.google.common.collect with parameters of type PeekingIteratorModifier and TypeMethodDescriptionstatic <T> PeekingIterator
<T> Iterators.peekingIterator
(PeekingIterator<T> iterator) Deprecated.no need to use this