public static < T > Predicate < T > of ( Expression < T > expression ) { if ( Expressions . isNil ( expression ) ) { // always true return instance -> true ; } return new InMemoryExpressionEvaluator <> ( expression ) ; }
Factory method to create evaluator instance