public interface Predicate2<T1,T2>
extends Serializable
A Predicate2 is primarily used in methods like selectWith, detectWith, rejectWith. The first argument
is the element of the collection being iterated over, and the second argument is a parameter passed into
the predicate from the calling method.