/guava/guava/src/com/google/common/primitives/Booleans.java
boolean[] result = new boolean[length];boolean[] array = new boolean[len];
boolean[] array = new boolean[len];
public static boolean[] toArray(Collection<Boolean> collection) { if (collection instanceof BooleanArrayAsList) { return ((BooleanArrayAsList) collection).toBooleanArray(); } Object[] boxedArray = collection.toArray(); int len = boxedArray.length; <extra_id_0> for (int i = 0; i < len; i++) { array[i] = (Boolean) checkNotNull(boxedArray[i]); } return array; } public static List<Boolean> asList(boolean... backingArray) {