public interface Block extends Segment
| Modifier and Type | Method and Description |
|---|---|
long |
getOffset()
Offset in a parent container; should be 0 if there is none
|
boolean |
hasNext()
Check if there is a subsequent block.
|
boolean |
hasPrev() |
Reference<Block> |
nextBlock()
The block source of this block - if any.
|
Reference<Block> |
prevBlock() |
newChannelcloselong getOffset()
Reference<Block> nextBlock() throws IOException
IOExceptionReference<Block> prevBlock() throws IOException
IOExceptionboolean hasNext()
throws IOException
IOExceptionboolean hasPrev()
throws IOException
IOExceptionCopyright © 2020. All rights reserved.