Here you can find the source of booleanToString(boolean[] values)
public static String[] booleanToString(boolean[] values)
//package com.java2s; public class Main { public static String[] booleanToString(boolean[] values) { if (values == null) { return null; }/*w w w . j a v a2 s .com*/ String[] results = new String[values.length]; for (int i = 0; i < values.length; i++) { results[i] = String.valueOf(values[i]); } return results; } }