Home / Function/ findFirst() — netty Function Reference

findFirst() — netty Function Reference

Architecture documentation for the findFirst() function in ConcurrentSkipListIntObjMultimap.java from the netty codebase.

Function java CommonUtil Concurrent calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  55e0f54c_1f67_1d03_40c0_55d8270fc50b["findFirst()"]
  d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"]
  55e0f54c_1f67_1d03_40c0_55d8270fc50b -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270
  ad0bdb60_b9ec_5a07_8326_83fd7b8bf2c7["isEmpty()"]
  ad0bdb60_b9ec_5a07_8326_83fd7b8bf2c7 -->|calls| 55e0f54c_1f67_1d03_40c0_55d8270fc50b
  ad508314_fbb5_0c78_3eca_d4f3e161caf3["firstKey()"]
  ad508314_fbb5_0c78_3eca_d4f3e161caf3 -->|calls| 55e0f54c_1f67_1d03_40c0_55d8270fc50b
  46a88bc6_04d3_48e3_2fff_16407ed81e0c["baseHead()"]
  55e0f54c_1f67_1d03_40c0_55d8270fc50b -->|calls| 46a88bc6_04d3_48e3_2fff_16407ed81e0c
  14308445_2437_e26b_41bb_c7458d3b14e0["unlinkNode()"]
  55e0f54c_1f67_1d03_40c0_55d8270fc50b -->|calls| 14308445_2437_e26b_41bb_c7458d3b14e0
  style 55e0f54c_1f67_1d03_40c0_55d8270fc50b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 836–848

    final Node<V> findFirst() {
        Node<V> b, n;
        if ((b = baseHead()) != null) {
            while ((n = b.next) != null) {
                if (n.val == null) {
                    unlinkNode(b, n, noKey);
                } else {
                    return n;
                }
            }
        }
        return null;
    }

Domain

Subdomains

Frequently Asked Questions

What does findFirst() do?
findFirst() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java.
Where is findFirst() defined?
findFirst() is defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java at line 836.
What does findFirst() call?
findFirst() calls 2 function(s): baseHead, unlinkNode.
What calls findFirst()?
findFirst() is called by 2 function(s): firstKey, isEmpty.

Analyze Your Own Codebase

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

Try Supermodel Free