private MapArray<String, MapArray<String, ICell>> withValueByRule( Row row, JFuncTTREx<String, String, Boolean> func) { Collection<String> rowNames = row.hasName() ? table.rows().getRowAsText(row.getName()).where(func).keys() : table.rows().getRowAsText(row.getNum()).where(func).keys(); return new MapArray<>(rowNames, key -> key, this::getColumn); } public final MapArray<String, MapArray<String, ICell>> withValue(String value, Row row) {
private MapArray<String, MapArray<String, ICell>> withValueByRule( Row row, JFuncTTREx<String, String, Boolean> func) { Collection<String> rowNames = row.hasName() ? table.rows().getRowAsText(row.getName()).where(func).keys() : table.rows().getRowAsText(row.getNum()).where(func).keys(); return new MapArray<>(rowNames, key -> key, this::getColumn); } public final MapArray<String, MapArray<String, ICell>> withValue(String value, Row row) {
private MapArray<String, MapArray<String, ICell>> withValueByRule(Row row, JFuncTTREx<String, String, Boolean> func) { Collection<String> rowNames = row.hasName() ? table.rows().getRowAsText(row.getName()).where(func).keys() : table.rows().getRowAsText(row.getNum()).where(func).keys(); return new MapArray<>(rowNames, key -> key, this::getColumn); } public final MapArray<String, MapArray<String, ICell>> withValue(String value, Row row) {