Currently the java.util.Objects provide the method `checkIndex(int, int)` for checking indexes. It is convenient, but cannot be used to implement methods such as List::add(int, E) because these methods accept an index pointing to the end of the collection. So is it possible to add a new method to Objects to check this kind of index? This is useful for implementing collections. (The checkPositionIndex in the title is its name in guava. I don't like the name, but I don't have a better idea.)
Glavo
