Spliterator.IMMUTABLE

Remi Forax forax at univ-mlv.fr
Sun Mar 10 06:26:51 PDT 2013


I've just discovered Spliterator.IMMUTABLE,
I think this flag has the wrong name, given it doesn't mean that the 
Spliterator is immutable (usually tryAdvance change the state of the 
Spliterator) but the fact that it doesn't act as a view of the 
collection that creates it.

Maybe DETACHED is a better word ?

cheers,
Rémi





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