public class CloseableGrouperIterator<KeyType,T> extends Object implements CloseableIterator<T>
Constructor and Description |
---|
CloseableGrouperIterator(CloseableIterator<Grouper.Entry<KeyType>> iterator,
Function<Grouper.Entry<KeyType>,T> transformer,
Closeable closeable) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flatMap, map
forEachRemaining
public CloseableGrouperIterator(CloseableIterator<Grouper.Entry<KeyType>> iterator, Function<Grouper.Entry<KeyType>,T> transformer, Closeable closeable)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.