### Question:
CollectionUtils { @SafeVarargs public static <T> Set<T> setOf(T... values) { Set<T> set = new HashSet<T>(); for (T value : values) set.add(value); return set; } private  CollectionUtils(); static List<Float> listFromFloatArray(final float[] arr); static List<Double> listFromDoubleArray(final double[] arr); @SafeVarargs /** * Returns a new Set containing the given values */ static Set<T> setOf(T... values);  }### Answer:
@Test public void testSetOf() { Set<Float> floatSet = CollectionUtils.setOf(floatDataAsObject); Set<Double> doubleSet = CollectionUtils.setOf(doubleDataAsObject); assertEquals(floatDataSet, floatSet); assertEquals(doubleDataSet, doubleSet); }