No subject

Luc Duponcheel luc.duponcheel at gmail.com
Fri Feb 1 07:14:28 PST 2013


Hello,

I have a (hopefully) very simple question about spliterators

consider something like

  Spliterator<Integer> spliterator =
   // ... make a spliterator

  spliterator.forEach(integer ->
    new Integer(integer.intValue() + 1)
   );

does the foreach method "just work"
(I mean: will it try to split)

or do I somehow have to invoke the trySplit() method myself

thx

Luc

-- 
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination


More information about the lambda-dev mailing list