zeroPutGetAndRemove() — netty Function Reference
Architecture documentation for the zeroPutGetAndRemove() function in LongLongHashMapTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0e7c4431_be7c_0c00_8a06_d1a21064c822["zeroPutGetAndRemove()"] be777c84_c118_10ce_0f6a_336f06b7436d["LongLongHashMapTest"] 0e7c4431_be7c_0c00_8a06_d1a21064c822 -->|defined in| be777c84_c118_10ce_0f6a_336f06b7436d style 0e7c4431_be7c_0c00_8a06_d1a21064c822 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/internal/LongLongHashMapTest.java lines 30–39
@Test
public void zeroPutGetAndRemove() {
LongLongHashMap map = new LongLongHashMap(-1);
assertThat(map.put(0, 42)).isEqualTo(-1);
assertThat(map.get(0)).isEqualTo(42);
assertThat(map.put(0, 24)).isEqualTo(42);
assertThat(map.get(0)).isEqualTo(24);
map.remove(0);
assertThat(map.get(0)).isEqualTo(-1);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does zeroPutGetAndRemove() do?
zeroPutGetAndRemove() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/LongLongHashMapTest.java.
Where is zeroPutGetAndRemove() defined?
zeroPutGetAndRemove() is defined in common/src/test/java/io/netty/util/internal/LongLongHashMapTest.java at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free