Spliterator#tryAdvance

Boaz Nahum boaznahum at gmail.com
Fri Mar 29 07:36:40 PDT 2013


Silly me, I forgot the main point.
In my implementation of tryAdvanc() I found my self need to delegate to
other  Spliterator.
And there comes the question if I can call it again after once it returns
false ? Or I need to remember it ?

Thanks
Boaz



On Fri, Mar 29, 2013 at 5:31 PM, Boaz Nahum <boaznahum at gmail.com> wrote:

> From reading Spliterator#tryAdvance it is not clear what is the expected
> behavior if it is called after it return false once.
>
> It is important (for me), because in many cases I find myself need to keep
> state indicate that once I returned false.
>
> Thanks
> Boaz
>
>


More information about the lambda-dev mailing list