public class ModuleGroupUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ModuleGroupUtil.ParentChildRelation<T> |
Modifier and Type | Method and Description |
---|---|
static <T> T |
buildModuleGroupPath(ModuleGroup group,
T parentNode,
java.util.Map<ModuleGroup,T> map,
Consumer<? super ModuleGroupUtil.ParentChildRelation<T>> insertNode,
Function<? super ModuleGroup,? extends T> createNewNode) |
static <T> T |
updateModuleGroupPath(ModuleGroup group,
T parentNode,
Function<? super ModuleGroup,? extends T> needToCreateNode,
Consumer<? super ModuleGroupUtil.ParentChildRelation<T>> insertNode,
Function<? super ModuleGroup,? extends T> createNewNode) |
public static <T> T buildModuleGroupPath(ModuleGroup group, T parentNode, java.util.Map<ModuleGroup,T> map, Consumer<? super ModuleGroupUtil.ParentChildRelation<T>> insertNode, Function<? super ModuleGroup,? extends T> createNewNode)
public static <T> T updateModuleGroupPath(ModuleGroup group, T parentNode, Function<? super ModuleGroup,? extends T> needToCreateNode, Consumer<? super ModuleGroupUtil.ParentChildRelation<T>> insertNode, Function<? super ModuleGroup,? extends T> createNewNode)