private void put(Table ht, byte[] cf, Integer[] rowIndexes, Integer[] columnIndexes,
    Long[] versions) throws IOException {
    for (int rowIdx : rowIndexes) {
      byte row[] = Bytes.toBytes("row:" + rowIdx);
      Put put = new Put(row);
      put.setDurability(Durability.SKIP_WAL);
      for (int colIdx : columnIndexes) {
        byte column[] = Bytes.toBytes("column:" + colIdx);
        for (long version : versions) {
          put.addColumn(cf, column, version, Bytes.toBytes("value-version-" + version));
        }
      }
      ht.put(put);
    }
  }
Uses the TimestampFilter on a Get to request a specified list of versions for the row/column
specified by rowIdx & colIdx.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultipleTimestamps.java