Home / Function/ commonSuffixOfLength() — netty Function Reference

commonSuffixOfLength() — netty Function Reference

Architecture documentation for the commonSuffixOfLength() function in StringUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  fd66e142_89ba_079c_e13a_31e5ecb9ca4b["commonSuffixOfLength()"]
  2bdecda8_5186_4936_ca05_ebee455a476a["StringUtil"]
  fd66e142_89ba_079c_e13a_31e5ecb9ca4b -->|defined in| 2bdecda8_5186_4936_ca05_ebee455a476a
  9ae04130_cb77_ad88_9318_e6bd1d7cbcd4["length()"]
  fd66e142_89ba_079c_e13a_31e5ecb9ca4b -->|calls| 9ae04130_cb77_ad88_9318_e6bd1d7cbcd4
  style fd66e142_89ba_079c_e13a_31e5ecb9ca4b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/StringUtil.java lines 126–128

    public static boolean commonSuffixOfLength(String s, String p, int len) {
        return s != null && p != null && len >= 0 && s.regionMatches(s.length() - len, p, p.length() - len, len);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does commonSuffixOfLength() do?
commonSuffixOfLength() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/StringUtil.java.
Where is commonSuffixOfLength() defined?
commonSuffixOfLength() is defined in common/src/main/java/io/netty/util/internal/StringUtil.java at line 126.
What does commonSuffixOfLength() call?
commonSuffixOfLength() calls 1 function(s): length.

Analyze Your Own Codebase

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

Try Supermodel Free