General purpose Java predicates library.