RFR JDK-8011426: java.util collection Spliterator implementations
mike.duigou at oracle.com
Fri Apr 19 04:52:10 UTC 2013
I reversed this change :
-final Collection<? extends E> c;
+ final Collection<E> c;
in Collections.UnmodifiableCollection instead opting or casts in the forEach and spliterator Methods.
- I wonder if it's worth it to have the NONNULL characteristic change in Collections::singletonSpliterator depending on element.
- needs an overridden spliterator providing ORDERED for it's entry set. (I can do this tomorrow if needed).
- I am surprised the spliterator is not ORDERED.
On Apr 10 2013, at 06:50 , Paul Sandoz wrote:
> Following up from JDK-8010096  here is a webrev for spliterator implementations of collection classes in java.util:
> This is dependent on .
> Note that for some reason the webrev script creates the jdk changeset file for my complete hg patch queue and not from the revision i specify. Anyone know how to change that?
>  http://cr.openjdk.java.net/~psandoz/lambda/spliterator/jdk-8010096/webrev/
More information about the core-libs-dev