public static < E > Filter < E > switchedFilter ( Filter < E > filter , boolean negated ) { return ( new NegatedFilter < E > ( filter , negated ) ) ; }
Filter that s either negated or normal as specified .