List student=Lists.newArrayList;Student s=new Student();s.setAge(“12”);student.add(s);List nonull=student.stream.fliter(s->s!=null).fliter(s ->StringUtils.isNotBlank(s.getAge)).collect(Collectors.toList());这样就能获
我是在说 回答者