List<Obj> test= objList.stream().filter(s -> s.getLicence() != null && s.getLicence().equals(obj.getLicence())).collect(Collectors.<Obj>toList());
Powered by: 博客园 Copyright © 2024 testgogogo Powered by .NET 9.0 on Kubernetes