testIteratorConcurrentModificationRemove() — netty Function Reference
Architecture documentation for the testIteratorConcurrentModificationRemove() function in AbstractCompositeByteBufTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 335758dc_5b88_a1c7_83cc_ed9f9936d684["testIteratorConcurrentModificationRemove()"] 47bc0a20_e243_89ff_132b_99ac6b23835f["AbstractCompositeByteBufTest"] 335758dc_5b88_a1c7_83cc_ed9f9936d684 -->|defined in| 47bc0a20_e243_89ff_132b_99ac6b23835f style 335758dc_5b88_a1c7_83cc_ed9f9936d684 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java lines 1280–1299
@Test
public void testIteratorConcurrentModificationRemove() {
CompositeByteBuf cbuf = newCompositeBuffer();
cbuf.addComponent(EMPTY_BUFFER);
final Iterator<ByteBuf> it = cbuf.iterator();
cbuf.removeComponent(0);
assertTrue(it.hasNext());
try {
assertThrows(ConcurrentModificationException.class, new Executable() {
@Override
public void execute() {
it.next();
}
});
} finally {
cbuf.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testIteratorConcurrentModificationRemove() do?
testIteratorConcurrentModificationRemove() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java.
Where is testIteratorConcurrentModificationRemove() defined?
testIteratorConcurrentModificationRemove() is defined in buffer/src/test/java/io/netty/buffer/AbstractCompositeByteBufTest.java at line 1280.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free