Tables { public Stream<TableCell> getFilteredCells() { return getFilteredRows().flatMap(List::stream); } Tables(JCas jCas); Tables withColumn(String p); Tables withColumn(Pattern p); Stream<List<TableCell>> getFilteredRows(); Stream<TableCell> getFilteredCells(); Stream<Table> getTables(); Stream<List<TableCell>> getRows(); Stream<TableCell> getCells();  }
@Test public void testGetFilteredCells() throws Exception { assertEquals( 0, tables.withColumn("Name").withColumn("(?i)email").withColumn("missing").getCells().count()); }