Home / Function/ higherEntryOrKeyMismatch() — netty Function Reference

higherEntryOrKeyMismatch() — netty Function Reference

Architecture documentation for the higherEntryOrKeyMismatch() function in ConcurrentSkipListIntObjMultimapTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9d4fded4_1136_bb5d_e21e_9d8f7b82d121["higherEntryOrKeyMismatch()"]
  b8d62292_25db_2195_8bbe_2ebd67dc18b5["ConcurrentSkipListIntObjMultimapTest"]
  9d4fded4_1136_bb5d_e21e_9d8f7b82d121 -->|defined in| b8d62292_25db_2195_8bbe_2ebd67dc18b5
  style 9d4fded4_1136_bb5d_e21e_9d8f7b82d121 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimapTest.java lines 376–393

    @ParameterizedTest
    @ValueSource(booleans = {true, false})
    void higherEntryOrKeyMismatch(boolean multiMapped) throws Exception {
        map.put(1, "a");
        map.put(2, "b");
        map.put(4, "c");
        if (multiMapped) {
            map.put(1, "a");
            map.put(2, "b");
            map.put(4, "c");
        }
        assertEquals(4, map.higherKey(2));
        assertEquals(new IntEntry<>(4, "c"), map.higherEntry(2));
        assertEquals(4, map.higherKey(3));
        assertEquals(new IntEntry<>(4, "c"), map.higherEntry(3));
        assertEquals(noKey, map.higherKey(4));
        assertNull(map.higherEntry(4));
    }

Domain

Subdomains

Frequently Asked Questions

What does higherEntryOrKeyMismatch() do?
higherEntryOrKeyMismatch() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimapTest.java.
Where is higherEntryOrKeyMismatch() defined?
higherEntryOrKeyMismatch() is defined in common/src/test/java/io/netty/util/concurrent/ConcurrentSkipListIntObjMultimapTest.java at line 376.

Analyze Your Own Codebase

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

Try Supermodel Free