new Predicate <Student> () { public boolean match(Student student){ return student.getAge() < 20 && student.getName().contains("f"); } }