Optional.equals/hashCode

Remi Forax forax at univ-mlv.fr
Mon Jan 14 14:58:54 PST 2013


On 01/14/2013 07:00 PM, Brian Goetz wrote:
> Is the only purpose of this suggestion to make it less of an "attractive nuisance"?

yes.

Rémi

>
> On Jan 14, 2013, at 12:06 AM, Remi Forax wrote:
>
>> A remark of one of my colleague,
>> "if you want to avoid List<Optional<String>> why Optional has methods hashCode and equals that are overriden".
>>
>> I think it makes sense to remove them.
>>
>> Rémi
>>



More information about the lambda-libs-spec-experts mailing list