src/org/kocakosm/pitaya/util/Booleans.java
public static Boolean and(Boolean... bools)
	{
		Parameters.checkCondition(bools.length > 0);
		for (Boolean bool : bools) {
			if (!bool) {
				return FALSE;
			}
		}
		return TRUE;
	}
public static Boolean and(Boolean... bools)
	{
		Parameters.checkCondition(bools.length > 0);
		for (Boolean bool : bools) {
			if (!bool) {
				return FALSE;
			}
		}
		return TRUE;
	}
Performs a logical "and" on the given values, that is, this method
returns {@code true} if, and only if, all the given {@code Boolean}
values are {@code true}, and {@code false} in all other cases.

@param bools the {@code Boolean} values.

@return the result of the logical "and" on the given values.

@throws NullPointerException if {@code bools} is {@code null} or if
it contains a {@code null} reference.
@throws IllegalArgumentException if {@code bools} is empty.