public class LimitedCloseableIterator<T> extends Object implements CloseableIterator<T>
| Constructor and Description |
|---|
LimitedCloseableIterator(CloseableIterator<T> iterator,
int start,
Integer end) |
LimitedCloseableIterator(Iterator<T> iterator,
int start,
Integer end) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic LimitedCloseableIterator(Iterator<T> iterator, int start, Integer end)
public LimitedCloseableIterator(CloseableIterator<T> iterator, int start, Integer end)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface CloseableIterator<T>Copyright © 2017. All rights reserved.