docs: public static void checkElementIndex(int index, int size) {
  		checkArgument(size >= 0, "Size was negative.");
  		if (index < 0 || index >= size) {
  			throw new IndexOutOfBoundsException("Index: " + index + ", Size: " + size);
  		}
  	}