Java com.google.common.collect PeekingIterator fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect PeekingIterator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect PeekingIterator.

The text is from its open source code.

Implementation

com.google.common.collect.PeekingIterator has the following implementations.
Click this link to see all its implementation.

Method

booleanhasNext()
Returns true if the iteration has more elements.
Enext()

The objects returned by consecutive calls to #peek() then #next() are guaranteed to be equal to each other.

Epeek()
Returns the next element in the iteration, without advancing the iteration.
voidremove()

Implementations may or may not support removal when a call to #peek() has occurred since the most recent call to #next() .