2b4b5433b7
Co-authored-by: gdamms <gdamms@users.noreply.github.com>
19 lines
377 B
Java
19 lines
377 B
Java
public class ConditionEt {
|
|
|
|
ConditionTest[] conditionTests;
|
|
|
|
public ConditionEt(ConditionTest[] conditionTests) {
|
|
this.conditionTests = conditionTests;
|
|
}
|
|
|
|
public Boolean evaluer() {
|
|
for (ConditionTest cond : conditionTests) {
|
|
if (!cond.evaluer()) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
}
|