ByteBuffer that remembers if the buffer has been flipped or not.
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public ByteBuffer | |
| public boolean |
| buf | back to summary |
|---|---|
| private final ByteBuffer buf | |
| flipped | back to summary |
|---|---|
| private final AtomicBoolean flipped | |
| ByteBufferHolder | back to summary |
|---|---|
| public ByteBufferHolder(ByteBuffer buf, boolean flipped) | |
| flip | back to summary |
|---|---|
| public boolean flip() | |
| getBuf | back to summary |
|---|---|
| public ByteBuffer getBuf() | |
| isFlipped | back to summary |
|---|---|
| public boolean isFlipped() | |