/src/main/java/net/finmath/util/config/ConfigTree.java
List<String> keyOrderRemain = keyOrder.subList( 1, keyOrder.get( ) ) ;
List<String> keyOrderRemain = keyOrder.subList ( 1, keyOrder.size ( ) ) ;
} } private Node group(List<String> keyOrder, List<Map<String, Object>> configs) { if(keyOrder.size() > 0) { String key = keyOrder.get(0); Map<Object, List<Map<String, Object>>> grouped = configs.stream().collect(Collectors.groupingBy(map -> map.get(key))); <extra_id_0> Map<Object, Node> valueToConfig = grouped.entrySet().stream().collect(Collectors.toMap( Map.Entry::getKey, entry -> group(keyOrderRemain, entry.getValue()))); return new ConfigNode(key, valueToConfig); } else { if(configs.size() == 1) {