Home / Function/ checkInRange() — netty Function Reference

checkInRange() — netty Function Reference

Architecture documentation for the checkInRange() function in ObjectUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  af1514c9_8e7a_ce2e_204a_cc0a9f3fab92["checkInRange()"]
  13c1c162_0c7f_9250_1333_d3520660541f["ObjectUtil"]
  af1514c9_8e7a_ce2e_204a_cc0a9f3fab92 -->|defined in| 13c1c162_0c7f_9250_1333_d3520660541f
  style af1514c9_8e7a_ce2e_204a_cc0a9f3fab92 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/ObjectUtil.java lines 198–203

    public static int checkInRange(int i, int start, int end, String name) {
        if (i < start || i > end) {
            throw new IllegalArgumentException(name + ": " + i + " (expected: " + start + "-" + end + ")");
        }
        return i;
    }

Domain

Subdomains

Frequently Asked Questions

What does checkInRange() do?
checkInRange() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/ObjectUtil.java.
Where is checkInRange() defined?
checkInRange() is defined in common/src/main/java/io/netty/util/internal/ObjectUtil.java at line 198.

Analyze Your Own Codebase

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

Try Supermodel Free