Method reference toString

Brian Goetz brian.goetz at oracle.com
Wed Dec 19 06:48:18 PST 2012


> By no identity, is the following guaranteed to be true?
>
> public static Query<LocalDate> QUERY = LocalDate::from;
> assert QUERY == QUERY

Yes.  But not:

   assert QUERY == LocalDate::from



More information about the lambda-dev mailing list