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