public static BooleanExpression allOf ( BooleanExpression ... exprs ) { BooleanExpression rv = null ; for ( BooleanExpression b : exprs ) { rv = rv == null ? b : rv . and ( b ) ; } return rv ; }
Get the intersection of the given Boolean expressions