Iterate through child nodes with the names and return all the matching children @param names names of tags/elements to be returned. Null means all nodes. @param test check for the nodes to be returned. Null means all nodes.
(Set<String> names, Predicate<ConfigNode> test)
| 159 | * @param test check for the nodes to be returned. Null means all nodes. |
| 160 | */ |
| 161 | default List<ConfigNode> getAll(Set<String> names, Predicate<ConfigNode> test) { |
| 162 | assert names == null || !names.isEmpty() : "Intended to pass null?"; |
| 163 | List<ConfigNode> result = new ArrayList<>(); |
| 164 | forEachChild( |
no outgoing calls