RFR : 8013712 : (XS) Add Objects.nonNull and Objects.isNull

Remi Forax forax at univ-mlv.fr
Thu Jun 20 13:10:41 UTC 2013


Yes, a fine idea.

Rémi

On 06/20/2013 11:44 AM, Stephen Colebourne wrote:
> 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