docs: @Throws(IllegalPositionIndexException.class)
  	public static int positionIndex(final int index, final int size) {
  		final boolean isIndexValid = (size >= 0) && (index >= 0) && (index < size);
  
  		if (!isIndexValid) {
  			throw new IllegalPositionIndexException(index, size);
  		}
  
  		return index;
  	}