Home / Function/ checkIndex() — netty Function Reference

checkIndex() — netty Function Reference

Architecture documentation for the checkIndex() function in CodecOutputList.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4e5d9039_6b7f_1bb0_324e_e9da116b7ae7["checkIndex()"]
  6ac16422_9a27_c4b7_2cbb_da7b639a19f5["CodecOutputList"]
  4e5d9039_6b7f_1bb0_324e_e9da116b7ae7 -->|defined in| 6ac16422_9a27_c4b7_2cbb_da7b639a19f5
  5358d6ac_3cd6_0f25_d42d_cbeb38d29ed6["Object()"]
  5358d6ac_3cd6_0f25_d42d_cbeb38d29ed6 -->|calls| 4e5d9039_6b7f_1bb0_324e_e9da116b7ae7
  c2d77e60_10a0_d3f8_12aa_831ad0030005["add()"]
  c2d77e60_10a0_d3f8_12aa_831ad0030005 -->|calls| 4e5d9039_6b7f_1bb0_324e_e9da116b7ae7
  style 4e5d9039_6b7f_1bb0_324e_e9da116b7ae7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java lines 211–216

    private void checkIndex(int index) {
        if (index >= size) {
            throw new IndexOutOfBoundsException("expected: index < ("
                    + size + "),but actual is (" + size + ")");
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does checkIndex() do?
checkIndex() is a function in the netty codebase, defined in codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java.
Where is checkIndex() defined?
checkIndex() is defined in codec-base/src/main/java/io/netty/handler/codec/CodecOutputList.java at line 211.
What calls checkIndex()?
checkIndex() is called by 2 function(s): Object, add.

Analyze Your Own Codebase

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

Try Supermodel Free