import java.util.List; public class Condition { List> conditionsNormaleDisjonctive; public Condition(List> conditions) { this.conditionsNormaleDisjonctive = conditions; } public Boolean evaluer() { return conditionsNormaleDisjonctive.stream() .anyMatch( conditionOU -> conditionOU.stream() .allMatch(c -> c.evaluer())); } }