code: private Map<Integer, Object> getFilter(List<PivotField> fields, List<Object> values) {
  //		long start = System.currentTimeMillis();
  		Map<Integer, Object> filter = new HashMap<Integer, Object>();
  		for (int i = 0; i < values.size(); i++) {
  			int fieldIndex = fields.get(i).getIndex();
  			// System.out.println(fieldIndex);
  			filter.put(fieldIndex, values.get(i));
  		}
  //		long stop = System.currentTimeMillis();
  //		System.out.println("getFilter in " + (stop - start));
  	
  		return filter;
  	}
docs: /*
  Retrieves a filter for filtering data source (raw data). The size of fields must be equals with
  the size of values. The key in map is the field index.