• 学习到了, 自己尝试手写了一些

    ArrayList userDtoArrays = (ArrayList) users.stream()
    .filter(sex -> sex.getSex().equals("女"))
    .filter(dept -> Objects.equals(dept.getDept(), "供应链组"))
    .collect(Collectors.toList());
    System.out.println("筛选出供应链组女生信息" + userDtoArrays);