I want to get the next element from a spliterator, not just "perform action" on the next element. For example by implementing the following method
<T> T getnext(Spliterator<T> s) {
}
All search results I found just said that tryAdvance() was like a combination of an iterators hasNext() and next(), except that is a BIG LIE because I can't get next element, just "perform action on next element".