I have a boolean array in java:
boolean[] myArray = new boolean[10];
What\'s the most elegant way to check if all the values are true?
That line should be sufficient:
BooleanUtils.and(boolean... array)
but to calm the link-only purists:
Performs an and on a set of booleans.