Untitled

 avatar
unknown
plain_text
a year ago
426 B
4
Indexable
boolean lostSelectionExists = settlementSelections.stream()
                 .filter(settlementSelection -> settlementSelection.getOutcomeResult() != null)
                 .anyMatch(settlementSelection ->
                         settlementSelection.getOutcomeResult().equals(OutcomeResult.LOST) &&
                                 settlementSelection.getVoidFactorValue() == 0.0);
         return lostSelectionExists;
     }
Editor is loading...
Leave a Comment