class PrefsUtils {

    public static final String floatArrayToString(float[] array) {<FILL_FUNCTION_BODY>}

    public static final float[] stringToFloatArray(String string) {
        StringTokenizer tokenizer = new StringTokenizer(string, ",");
        float[] array = new float[tokenizer.countTokens()];

        for (int i = 0; i < array.length; i++) {
            array[i] = Float.parseFloat(tokenizer.nextToken());
        }

        return array;
    }
}

        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < array.length; i++) {
            if (i > 0) {
                builder.append(',');
            }
            builder.append(array[i]);
        }
        return builder.toString();
    
<no_super_class>