public static < I , O > BoolExprPattern < I , O > matches ( Function < I , Boolean > expr , Function < I , O > f ) { return new BoolExprPattern < I , O > ( expr , f ) ; }
Allows you use a lambda to match on an input .