sorting on keys on the MapStream
Arul Dhesiaseelan
aruld at acm.org
Sat Sep 15 13:17:41 PDT 2012
In MapPipeline.java, I see this code, which causes NPE :
@Override
public MapStream<K, V> sorted(Comparator<? super K> comparator) {
// return chainWith(new MapSortedOp<K,V>(comparator));
return null;
}
-Arul
On Sun, Sep 16, 2012 at 10:00 AM, Mike Duigou <mike.duigou at oracle.com>wrote:
>
> On Sep 15 2012, at 12:34 , Arul Dhesiaseelan wrote:
>
> > I understand these APIs are undergoing heavy changes. sorted() throws NPE
> > in MapPipeline which returns null. so this example won't work under
> latest
> > build.
>
> Can you provide a stack trace?
>
> Mike
>
More information about the lambda-dev
mailing list