Here you can find the source of anyTrue(boolean[] booleans)
public static boolean anyTrue(boolean[] booleans)
//package com.java2s; //License from project: LGPL public class Main { public static boolean anyTrue(boolean[] booleans) { for (boolean b : booleans) if (b) return true; return false; }// www.ja v a 2 s . c o m }