class TextUtils {

    public static String getCommaDelimitedString( Collection<?> elements )
    {
        if ( elements != null )
        {
            return elements.stream().map( Object::toString ).collect( Collectors.joining( DELIMITER ) );
        }

        return "";
    }

}