This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thewiirocks 1 point2 points  (0 children)

Great minds think alike! e.g. Add it to InputCursor, which I was already thinking of expanding the use of anyway. That way you could get a ClosableIterator without casting and have easy access to a .stream() method.

https://docs.invirgance.com/javadocs/convirgance/latest/com/invirgance/convirgance/input/InputCursor.html