Interface DataBuffer.ByteBufferIterator
- All Superinterfaces:
AutoCloseable, Closeable, Iterator<ByteBuffer>
- Enclosing interface:
DataBuffer
A dedicated iterator type that ensures the lifecycle of iterated
ByteBuffer elements. This iterator must be used in a
try-with-resources clause or explicitly closed.- Since:
- 6.0.5
- Author:
- Arjen Poutsma, Brian Clozel
- See Also:
-
Method Summary
Methods inherited from interface Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-