public static < T > Predicates < T > attributeIn ( Function < ? super T , ? > function , Iterable < ? > iterable ) { return new AttributePredicate < T , Object > ( function , Predicates . in ( iterable ) ) ; }
Creates a predicate which returns true if an attribute selected from an object passed to accept method is contained in the iterable .