Constructor and Description |
---|
InputStreamIterator(InputStream inputStream,
Coder<T> coder)
|
InputStreamIterator(InputStream inputStream,
Coder<T> coder,
long limit)
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public InputStreamIterator(InputStream inputStream, Coder<T> coder)
inputStream
- The stream to read data from.coder
- The coder to decode bytes into T
.public InputStreamIterator(InputStream inputStream, Coder<T> coder, long limit)
inputStream
- The stream to read data from.coder
- The coder to decode bytes into T
.limit
- The number of elements from the InputStream
.Copyright © 2018. All rights reserved.