toPeekingIterator

Wraps this Iterator into a PeekingIterator and returns it.

Return

The newly created PeekingIterator.