Java tutorial
//package com.java2s; //License from project: Apache License import java.util.ArrayList; public class Main { public static ArrayList<Boolean> asBooleanList(String[] stringArray) { ArrayList<Boolean> result = new ArrayList<Boolean>(); if (stringArray != null) { for (String string : stringArray) { result.add(Boolean.valueOf(string)); } } return result; } }