RFR : 8013712 : (XS) Add Objects.nonNull and Objects.isNull
Stephen Colebourne
scolebourne at joda.org
Thu Jun 20 09:44:19 UTC 2013
Like others, I would prefer isNotNull() to notNull(). Mainly for
consistency, but also for dicoverability is IDE autocomplete (as the
methods would then be next to one another)
Stephen
On 30 April 2013 23:45, Mike Duigou <mike.duigou at oracle.com> wrote:
> Hello all;
>
> Another changeset coming from the lambda libraries effort. This one is two small additions to the Objects class. The introduced methods are not really intended to be used directly, comparison operators work better in imperative logic, but the methods will be very useful as Predicates.
>
> http://cr.openjdk.java.net/~mduigou/JDK-8013712/0/webrev/
>
> Thanks,
>
> Mike
More information about the core-libs-dev
mailing list