@Test public void testStringifyCollectionOfT() { List<Integer> ints = Arrays.asList(1, 2, 3, 4, 5, 6, 7); List<String> actualResult = CollectionUtil.stringify(ints); assertNotNull(actualResult); assertTrue(actualResult instanceof List); assertEquals(7, actualResult.stream().count()); }
public static <T> List<String> stringify(Collection<T> collection) { return stringify(collection, new Stringifier<T>() { @Override public String execute(T obj, Object... conversionArguments) { return obj == null ? StringUtil.EMPTY : obj.toString(); } }); }
CollectionUtil { public static <T> List<String> stringify(Collection<T> collection) { return stringify(collection, new Stringifier<T>() { @Override public String execute(T obj, Object... conversionArguments) { return obj == null ? StringUtil.EMPTY : obj.toString(); } }); } }
CollectionUtil { public static <T> List<String> stringify(Collection<T> collection) { return stringify(collection, new Stringifier<T>() { @Override public String execute(T obj, Object... conversionArguments) { return obj == null ? StringUtil.EMPTY : obj.toString(); } }); }  }
CollectionUtil { public static <T> List<String> stringify(Collection<T> collection) { return stringify(collection, new Stringifier<T>() { @Override public String execute(T obj, Object... conversionArguments) { return obj == null ? StringUtil.EMPTY : obj.toString(); } }); }  static boolean isEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection); static List<String> stringify(Collection<T> collection); static List<String> stringify(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection); static String implode(Collection<T> collection, String separator); static String implode(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection, String sep,
			Stringifier<T> stringifier, Object... options); }
CollectionUtil { public static <T> List<String> stringify(Collection<T> collection) { return stringify(collection, new Stringifier<T>() { @Override public String execute(T obj, Object... conversionArguments) { return obj == null ? StringUtil.EMPTY : obj.toString(); } }); }  static boolean isEmpty(Collection<?> collection); static boolean hasElements(Collection<?> collection); static List<String> stringify(Collection<T> collection); static List<String> stringify(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection); static String implode(Collection<T> collection, String separator); static String implode(Collection<T> collection, Stringifier<T> stringifier,
			Object... options); static String implode(Collection<T> collection, String sep,
			Stringifier<T> stringifier, Object... options);  }