Home / Function/ containsValue() — netty Function Reference

containsValue() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a2f6a2fa_01f8_d15b_dbdb_ecd3924949bf["containsValue()"]
  d9a8da36_aab9_ab33_dc67_870b34dcd270["ConcurrentSkipListIntObjMultimap"]
  a2f6a2fa_01f8_d15b_dbdb_ecd3924949bf -->|defined in| d9a8da36_aab9_ab33_dc67_870b34dcd270
  46a88bc6_04d3_48e3_2fff_16407ed81e0c["baseHead()"]
  a2f6a2fa_01f8_d15b_dbdb_ecd3924949bf -->|calls| 46a88bc6_04d3_48e3_2fff_16407ed81e0c
  9e959d43_e1c8_8fa8_7a61_d5c0c6f8df6d["equals()"]
  a2f6a2fa_01f8_d15b_dbdb_ecd3924949bf -->|calls| 9e959d43_e1c8_8fa8_7a61_d5c0c6f8df6d
  style a2f6a2fa_01f8_d15b_dbdb_ecd3924949bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimap.java lines 1185–1198

    public boolean containsValue(Object value) {
        requireNonNull(value);
        Node<V> b, n; V v;
        if ((b = baseHead()) != null) {
            while ((n = b.next) != null) {
                if ((v = n.val) != null && value.equals(v)) {
                    return true;
                } else {
                    b = n;
                }
            }
        }
        return false;
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free