Puzzler: Stream.of(null)

Remi Forax forax at univ-mlv.fr
Sat Sep 14 08:33:11 PDT 2013


What this line does ?
   Stream.of(null).forEach(System.out::println);

EnumSet solve that issue by declaring of() like this of(T, T...).

cheers,
Rémi





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