Home / Function/ swapElements() — netty Function Reference

swapElements() — netty Function Reference

Architecture documentation for the swapElements() function in Bzip2DivSufSort.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6cd08680_5bba_3632_1ac7_b77001ad18fa["swapElements()"]
  5a60cb70_bf06_95bf_9c73_ed3a4dc24eba["Bzip2DivSufSort"]
  6cd08680_5bba_3632_1ac7_b77001ad18fa -->|defined in| 5a60cb70_bf06_95bf_9c73_ed3a4dc24eba
  d34a90df_0d9e_75f0_92a2_6d656258f8df["ssHeapSort()"]
  d34a90df_0d9e_75f0_92a2_6d656258f8df -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  1e0c07d3_ab29_8c77_bb12_13a34e73c315["ssMultiKeyIntroSort()"]
  1e0c07d3_ab29_8c77_bb12_13a34e73c315 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  8f2018df_9270_64c3_5e3a_0e80d1e98d92["ssBlockSwap()"]
  8f2018df_9270_64c3_5e3a_0e80d1e98d92 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  c78162df_9286_60d4_6559_0e9faf4d41b8["trHeapSort()"]
  c78162df_9286_60d4_6559_0e9faf4d41b8 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  b1b8f883_b30c_f3e3_fb38_5b1b8977d8d5["lsIntroSort()"]
  b1b8f883_b30c_f3e3_fb38_5b1b8977d8d5 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  a0662405_da20_82a9_4225_0fd911829cfa["PartitionResult()"]
  a0662405_da20_82a9_4225_0fd911829cfa -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8["trIntroSort()"]
  3a0e84e1_ef8e_7654_d7c8_b99b9f0abfe8 -->|calls| 6cd08680_5bba_3632_1ac7_b77001ad18fa
  style 6cd08680_5bba_3632_1ac7_b77001ad18fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java lines 59–63

    private static void swapElements(final int[] array1, final int idx1, final int[] array2, final int idx2) {
        final int temp = array1[idx1];
        array1[idx1] = array2[idx2];
        array2[idx2] = temp;
    }

Domain

Subdomains

Frequently Asked Questions

What does swapElements() do?
swapElements() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java.
Where is swapElements() defined?
swapElements() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/Bzip2DivSufSort.java at line 59.
What calls swapElements()?
swapElements() is called by 7 function(s): PartitionResult, lsIntroSort, ssBlockSwap, ssHeapSort, ssMultiKeyIntroSort, trHeapSort, trIntroSort.

Analyze Your Own Codebase

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

Try Supermodel Free