Here you can find the source of isAllFalse(Collection
public static boolean isAllFalse(Collection<Boolean> booleans)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static boolean isAllFalse(Collection<Boolean> booleans) { for (Boolean aBoolean : booleans) { if (aBoolean) return false; }//from www. j a v a2 s . c o m return true; } }