| Constructor and Description |
|---|
PushbackIteratorDecorator(Iterator<? extends T> baseIter)
Instantiates a new Pushback iterator decorator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBuffer()
Clear buffer.
|
boolean |
hasNext() |
Iterator<T> |
iterator() |
T |
next() |
void |
pushback()
Pushback void.
|
void |
pushback(Collection<? extends T> items)
Pushback void.
|
void |
pushback(T item)
Pushback void.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEach, spliteratorpublic void pushback()
public void pushback(T item)
item - the itempublic void pushback(Collection<? extends T> items)
items - the itemspublic void clearBuffer()
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.