List<NodeDescriptor> (NodeDescriptor parent) { if (parent == null) { return myRootChildren; } List<NodeDescriptor> children = myChildrenMap.get(parent); return children != null ? children : Collections.emptyList(); }