Predicate<Input> neither<Input>(final Predicate<Input> a, final Predicate<Input> b) => (i) => (!a(i) || !b(i));