app/src/main/java/db/juhaku/juhakudb/util/StringUtils.java
/**
     * Converts array of objects to comma separated String.
     *
     * @param array Object array of values to convert.
     * @return Stringified array.
     *
     * @since 2.0.1
     */
Converts array of objects to comma separated String.
@param array Object array of values to convert.
@return Stringified array.


Converts array of objects to comma separated String . @param array Object array of values to convert . @return Stringified array .
public static final String arrayToString(Object... array) {
        StringBuilder builder = new StringBuilder();
        int index = 0;
        for (Object str : array) {
            builder.append(str);
            if (index < array.length - 1) {
                builder.append(",");
            }
            index++;
        }
        return builder.toString();
    }
public static final String arrayToString ( Object ... array ) { StringBuilder builder = new StringBuilder ( ) ; int index = 0 ; for ( Object str : array ) { builder . append ( str ) ; if ( index < array . length - 1 ) { builder . append ( "," ) ; } index ++ ; } return builder . toString ( ) ; }
Converts array of objects to comma separated String.
Converts array of objects to comma separated String .