Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
426 B
1
Indexable
Never
boolean lostSelectionExists = settlementSelections.stream()
                 .filter(settlementSelection -> settlementSelection.getOutcomeResult() != null)
                 .anyMatch(settlementSelection ->
                         settlementSelection.getOutcomeResult().equals(OutcomeResult.LOST) &&
                                 settlementSelection.getVoidFactorValue() == 0.0);
         return lostSelectionExists;
     }
Leave a Comment