Home / Function/ remove() — netty Function Reference

remove() — netty Function Reference

Architecture documentation for the remove() function in LongLongHashMap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  21c75f13_5c12_7a9d_24bf_25e83548d0bb["remove()"]
  c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8["LongLongHashMap"]
  21c75f13_5c12_7a9d_24bf_25e83548d0bb -->|defined in| c69e9be2_01e3_83a0_b7d7_e4e8841e7bf8
  d26bef1b_480a_bce1_986c_ff9e97408cb9["index()"]
  21c75f13_5c12_7a9d_24bf_25e83548d0bb -->|calls| d26bef1b_480a_bce1_986c_ff9e97408cb9
  style 21c75f13_5c12_7a9d_24bf_25e83548d0bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/LongLongHashMap.java lines 76–90

    public void remove(long key) {
        if (key == 0) {
            zeroVal = emptyVal;
            return;
        }
        int index = index(key);
        for (int i = 0; i < maxProbe; i++) {
            long existing = array[index];
            if (existing == key) {
                array[index] = 0;
                break;
            }
            index = index + 2 & mask;
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does remove() do?
remove() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java.
Where is remove() defined?
remove() is defined in common/src/main/java/io/netty/util/internal/LongLongHashMap.java at line 76.
What does remove() call?
remove() calls 1 function(s): index.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free