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
- See Also:
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
close
void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-