@Test public void testSomeNull() { System.out.println("test some null ============================================================================"); Map<TblColRef, Set<String>> values = Maps.newHashMap(); values.put(col1, set("a", "b", "c")); values.put(col2, set()); values.put(col3, set("x", "y", "z")); List<Map<TblColRef, String>> result = FuzzyValueCombination.calculate(values, 10); for (Map<TblColRef, String> item : result) { System.out.println(item); } assertEquals(9, result.size()); }
public static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap) { Dim[] dims = toDims(fuzzyValues); capDims(dims, cap); return combination(dims); }
FuzzyValueCombination { public static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap) { Dim[] dims = toDims(fuzzyValues); capDims(dims, cap); return combination(dims); } }
FuzzyValueCombination { public static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap) { Dim[] dims = toDims(fuzzyValues); capDims(dims, cap); return combination(dims); }  }
FuzzyValueCombination { public static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap) { Dim[] dims = toDims(fuzzyValues); capDims(dims, cap); return combination(dims); }  static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap); }
FuzzyValueCombination { public static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap) { Dim[] dims = toDims(fuzzyValues); capDims(dims, cap); return combination(dims); }  static List<Map<TblColRef, String>> calculate(Map<TblColRef, Set<String>> fuzzyValues, long cap);  }