W3cubDocs

/Groovy 3.0

[Java] Interface BufferedIterator<T>

public interface BufferedIterator<T>
extends Iterator

An iterator that allows examining the next element without consuming it.

Since:
2.5.0

Methods Summary

Methods
Type Params Return Type Name and description
public T head()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
interface Iterator remove, forEachRemaining, next, hasNext

Method Detail

public T head()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/util/BufferedIterator.html