Class ActionCommandRegions

java.lang.Object
com.iohao.net.framework.core.ActionCommandRegions

public final class ActionCommandRegions extends Object
Registry of all ActionCommandRegion instances, indexed by cmd. Converts the region map into a 2D array for O(1) command lookup at runtime.
Author:
渔民小镇
date:
2022-05-15
  • Field Details

  • Constructor Details

    • ActionCommandRegions

      public ActionCommandRegions()
  • Method Details

    • listCmdMerge

      public List<Integer> listCmdMerge()
      Collect all merged command IDs across all registered regions.
      Returns:
      list of merged command IDs (cmdMerge values)
    • streamActionCommandRegion

      public Stream<ActionCommandRegion> streamActionCommandRegion()
      Stream all registered ActionCommandRegion instances.
      Returns:
      parallel stream of action command regions