public ICell cellContains(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((name, cell) -> cell.getValue().contains(value)); } public ICell cellMatch(String regex, Row row) {
public ICell cell(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((rowName, cell) -> cell.getValue().equals(value)); } public ICell cellContains(String value, Row row) {
public ICell cell(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((name, cell) -> cell.getValue().equals(value)); } public ICell cellContains(String value, Row row) {
public ICell cellContains(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((rowName, cell) -> cell.getValue().contains(value)); } public ICell cellMatch(String regex, Row row) {
public ICell cell(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((rowName, cell) -> cell.getValue().equals(value)); } public ICell cellContains(String value, Row row) {
public ICell cellContains(String value, Row row) { int rowNum = row.hasName() ? rows().headers().indexOf(row.getName()) + 1 : row.getNum(); return rows().getRow(rowNum).first((rowName, cell) -> cell.getValue().contains(value)); } public ICell cellMatch(String regex, 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) {
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) {