Home / Function/ splitMaxPart() — netty Function Reference

splitMaxPart() — netty Function Reference

Architecture documentation for the splitMaxPart() function in StringUtilTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b529b8ca_0937_8243_a93d_244ee71dc6f0["splitMaxPart()"]
  8a8ff062_3462_cc50_2d54_f42c40f72bfa["StringUtilTest"]
  b529b8ca_0937_8243_a93d_244ee71dc6f0 -->|defined in| 8a8ff062_3462_cc50_2d54_f42c40f72bfa
  style b529b8ca_0937_8243_a93d_244ee71dc6f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/internal/StringUtilTest.java lines 108–112

    @Test
    public void splitMaxPart() {
        assertArrayEquals(new String[] { "foo", "bar:bar2" }, "foo:bar:bar2".split(":", 2));
        assertArrayEquals(new String[] { "foo", "bar", "bar2" }, "foo:bar:bar2".split(":", 3));
    }

Domain

Subdomains

Frequently Asked Questions

What does splitMaxPart() do?
splitMaxPart() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/internal/StringUtilTest.java.
Where is splitMaxPart() defined?
splitMaxPart() is defined in common/src/test/java/io/netty/util/internal/StringUtilTest.java at line 108.

Analyze Your Own Codebase

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

Try Supermodel Free