Class ActionCommandRegions
java.lang.Object
com.iohao.net.framework.core.ActionCommandRegions
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 Summary
FieldsModifier and TypeFieldDescriptionActionCommand[][]ActionCommandsfinal Map<Integer, ActionCommandRegion> Action map. key : cmd -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect all merged command IDs across all registered regions.Stream all registeredActionCommandRegioninstances.
-
Field Details
-
regionMap
Action map. key : cmd -
actionCommands
ActionCommands
-
-
Constructor Details
-
ActionCommandRegions
public ActionCommandRegions()
-
-
Method Details
-
listCmdMerge
-
streamActionCommandRegion
Stream all registeredActionCommandRegioninstances.- Returns:
- parallel stream of action command regions
-