Searched refs:arrayTwo (Results 1 – 1 of 1) sorted by relevance
15 Object[] arrayTwo = array.get(i + 1); in getCartesianProductOf() local16 array.set(i + 1, cartesianProduct(arrayOne, arrayTwo)); in getCartesianProductOf()22 private static Object[] cartesianProduct(Object[] arrayOne, Object[] arrayTwo) { in cartesianProduct() argument23 int numberOfCombinations = arrayOne.length * arrayTwo.length; in cartesianProduct()28 for (Object secondElement : arrayTwo) { in cartesianProduct()