mockserver-core/src/main/java/org/mockserver/matchers/HttpRequestMatcher.java
private static boolean combinedResultAreTrue(boolean... inputs) {
        int count = 0;
        for (boolean input : inputs) {
            count += (input ? 1 : 0);
        }
        return count % 2 != 0;
    }
/**
     * true for odd number of false inputs
     */
true for odd number of false inputs
true for odd number of false inputs
private static boolean combinedResultAreTrue(boolean... inputs) {
        int count = 0;
        for (boolean input : inputs) {
            count += (input ? 1 : 0);
        }
        return count % 2 != 0;
    }
private static boolean combinedResultAreTrue ( boolean ... inputs ) { int count = 0 ; for ( boolean input : inputs ) { count += ( input ? 1 : 0 ) ; } return count % 2 != 0 ; }
true for odd number of false inputs
true for odd number of false inputs