# Uses of Class
org.apache.commons.collections4.iterators.PeekingIterator

Packages that use PeekingIterator
Package
Description
org.apache.commons.collections4.iterators
Implements the `Iterator` interface.

- ## Uses of PeekingIterator in org.apache.commons.collections4.iterators

  Methods in org.apache.commons.collections4.iterators that return PeekingIterator
  Modifier and Type
  Method
  Description
  `static <E> PeekingIterator<E>`
  PeekingIterator.`peekingIterator(Iterator<? extends E> iterator)`
  Decorates the specified iterator to support one-element lookahead.