Is there any danger in making the action .accept() more than one element in an implementation of Spliterator's .tryAdance()?
问题 The javadoc of Spliterator mentions that: A Spliterator may traverse elements individually (tryAdvance()) or sequentially in bulk (forEachRemaining()). Then we go to the javadoc of tryAdvance() which says that: If a remaining element exists, performs the given action on it, returning true; else returns false. Maybe I am misreading somewhere, but to me it seems that provided there is one element, or more , remaining, the Consumer as an argument should only every .accept() one argument before