class CollectionFunctions {

    public static <T> String simpleJoiner(Collection<T> list, String joinString) {
        if (list == null || list.isEmpty()) {
            return "";
        }
        return list.stream().map(element -> element != null ? element.toString() : "").collect(joining(joinString));
    }

    private  CollectionFunctions();

}