public class ReverseStudentFilter extends Object implements StudentFilter
Constructor and Description |
---|
ReverseStudentFilter(StudentFilter filter)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Student student)
Accept student.
|
String |
getName()
Filter name
|
public ReverseStudentFilter(StudentFilter filter)
filter
- student filter that is to be reversedpublic boolean accept(Student student)
accept
in interface StudentFilter
student
- a studentpublic String getName()
StudentFilter
getName
in interface StudentFilter