public class ReadableByteChannelWithConditionalBound<T extends ReadableByteChannel> extends ReadableByteChannelDecoratorBase<T>
| Modifier and Type | Field and Description |
|---|---|
protected long |
bytesRead |
protected boolean |
isInEofState |
protected Predicate<? super ReadableByteChannelWithConditionalBound<T>> |
testForEof |
delegate| Constructor and Description |
|---|
ReadableByteChannelWithConditionalBound(T delegate,
Predicate<? super ReadableByteChannelWithConditionalBound<T>> testForEof) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesRead() |
int |
read(ByteBuffer byteBuffer) |
getDelegateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, isOpenprotected Predicate<? super ReadableByteChannelWithConditionalBound<T extends ReadableByteChannel>> testForEof
protected boolean isInEofState
protected long bytesRead
public ReadableByteChannelWithConditionalBound(T delegate, Predicate<? super ReadableByteChannelWithConditionalBound<T>> testForEof)
public int read(ByteBuffer byteBuffer) throws IOException
IOExceptionpublic long getBytesRead()
Copyright © 2016–2021 Smart Data Analytics (SDA) Research Group. All rights reserved.