maurizio.cimadamore at oracle.com
Wed Jul 24 08:49:06 PDT 2013
On 24/07/13 16:42, Remi Forax wrote:
> On 07/24/2013 05:17 PM, Maurizio Cimadamore wrote:
>> On 24/07/13 15:43, Remi Forax wrote:
>>> in fact it's already an issue:
>> Not seeing the relation between this example and what's being
>> discussed in this thread. Well, apart that it's a static helper
>> method for creating array lists with no 'null' elements.
> @NonNull is applied on the return value, not on the element of the
> and it's perhaps more clear with codes that uses that library but this
> wrapper avoid to declare type arguments in user codes.
Was confused by another signature; in any case, it looks like everything
within the file you have sent would be ok with just using diamond
instead of a special purpose static method.
More information about the lambda-dev