package models;
import java.util.*;
import java.util.stream.Collectors;
public class LoseB {
private boolean value;
public void updateHandsB(List<Map.Entry<Integer, Boolean>> handsB) {
value = (handsB.stream().filter(item -> item.getValue()==false).collect(Collectors.toList()).size()==0);
}
public boolean getValue() {
return value;
}
}