I read up on spliterators today and implemented one using Spliterators.spliteratorUnknownSize(iterator(), Spliterator.NONNULL). According to spliteratorUnknownSize()'s documentation
The [resulting] spliterator is not late-binding
Being new to spliterators I am wondering why that is the case. If I ensure iterator() to be late-binding, the resulting spliterator should also be, no? spliteratorUnknownSize() is merely creating an IteratorSpliterator which does not bind to the element source yet.
I.e., I would love to understand why the resulting spliterator is not late-binding. Thank you.