private static List<Row> makeTableData(String tableId,int numRows){
  service.createTable(tableId);
  Map<ByteString,ByteString> testData=service.getTable(tableId);
  List<Row> testRows=new ArrayList<>(numRows);
  for (int i=0; i < numRows; ++i) {
    ByteString key=ByteString.copyFromUtf8(String.format("key%09d",i));
    ByteString value=ByteString.copyFromUtf8(String.format("value%09d",i));
    testData.put(key,value);
    testRows.add(makeRow(key,value));
  }
  return testRows;
}

private static List < Row > makeTableData ( String tableId , int numRows ) { service . createTable ( tableId ) ; Map < ByteString , ByteString > testData = service . getTable ( tableId ) ; List < Row > testRows = new ArrayList < > ( numRows ) ; for ( int i = 0 ; i < numRows ; ++ i ) { ByteString key = ByteString . copyFromUtf8 ( String . format ( "key%09d" , i ) ) ; ByteString value = ByteString . copyFromUtf8 ( String . format ( "value%09d" , i ) ) ; testData . put ( key , value ) ; testRows . add ( makeRow ( key , value ) ) ; } return testRows ; }
helper function to create a table and return the rows that it created .
