Returns true
if the provided reference is non- null
otherwise returns false
.
obj | a reference to be checked against null |
true
if the provided reference is non- null
otherwise false
java.util.function.Predicate
@apiNote This method exists to be used as a
java.util.function.Predicate
, filter(Objects::nonNull)
Diagram: Object