static int dominant332color_multipleImages(L images) { new Best best; fOr (BufferedImage img : images) { int[] array = histogram332_array(RGBImage(img)); for i over array: best.put(i, array[i]); } ret best!; }