Purpose of Objects.isNull(...) / Objects.nonNull(...)
From the JavaDoc of the method:
API Note: This method exists to be used as a
Predicate
,filter(Objects::isNull)
From the JavaDoc of the method:
API Note: This method exists to be used as a
Predicate
,filter(Objects::isNull)