Can you use "parenthesis" on Predicate operations

Posted by fishtoprecords on Stack Overflow See other posts from Stack Overflow or by fishtoprecords
Published on 2010-05-10T02:13:10Z Indexed on 2010/05/10 2:18 UTC
Read the original article Hit count: 296

I can't see any way to build a Predicate that uses parenthesis to control logical order. Is there one?

Say I want to do something like Predicate <= mumble and (foo or baz)

A simple Predicates.and or a Predicates.or has no equivalent that says "foo or baz" and with mumble.

Is this possible?

© Stack Overflow or respective owner

Related posts about guava

Related posts about google-collections