vigna / fastutil

fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues.
Apache License 2.0
1.78k stars 196 forks source link

Further document the spliterator methods in interfaces. #220

Closed techsy730 closed 3 years ago

techsy730 commented 3 years ago

Also pull the RandomAccess check for the default implementation of spliterator() from AbstractList into List, to match up with what java.util.List does.

The detail is rather excruciating, but spliterator is kind of a nuanced API like that requiring that level of detail, at least in the interfaces it does.