|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.studentsct.filter.CombinedStudentFilter
public class CombinedStudentFilter
This student filter combines two given student filters with logical operation AND or OR.
Field Summary | |
---|---|
static int |
OP_AND
AND |
static int |
OP_OR
OR |
Constructor Summary | |
---|---|
CombinedStudentFilter(StudentFilter first,
StudentFilter second,
int op)
Constructor |
Method Summary | |
---|---|
boolean |
accept(Student student)
A student is accepted if it is accepted by the first and/or the second filter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OP_AND
public static final int OP_OR
Constructor Detail |
---|
public CombinedStudentFilter(StudentFilter first, StudentFilter second, int op)
first
- first filtersecond
- second filterop
- logical operation (either OP_AND
or OP_OR
})Method Detail |
---|
public boolean accept(Student student)
accept
in interface StudentFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |