Home / Function/ forEach() — netty Function Reference

forEach() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6c6dddc9_fe33_a7b1_86ab_72f0675e9bcf["forEach()"]
  d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"]
  6c6dddc9_fe33_a7b1_86ab_72f0675e9bcf -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270
  46a88bc6_04d3_48e3_2fff_16407ed81e0c["baseHead()"]
  6c6dddc9_fe33_a7b1_86ab_72f0675e9bcf -->|calls| 46a88bc6_04d3_48e3_2fff_16407ed81e0c
  style 6c6dddc9_fe33_a7b1_86ab_72f0675e9bcf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 1526–1537

    public void forEach(BiConsumer<Integer, ? super V> action) {
        requireNonNull(action);
        Node<V> b, n; V v;
        if ((b = baseHead()) != null) {
            while ((n = b.next) != null) {
                if ((v = n.val) != null) {
                    action.accept(n.key, v);
                }
                b = n;
            }
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does forEach() do?
forEach() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java.
Where is forEach() defined?
forEach() is defined in common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java at line 1526.
What does forEach() call?
forEach() calls 1 function(s): baseHead.

Analyze Your Own Codebase

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

Try Supermodel Free