public URI get(final int index) {
        return this.all.get(index);
    }
Returns the URI at the specified position in this list.

@param index
           index of the location to return
@return the URI at the specified position in this list
@throws IndexOutOfBoundsException
            if the index is out of range (
            {@code index &lt; 0 || index &gt;= size()})
@since 4.3
httpclient5/src/main/java/org/apache/hc/client5/http/protocol/RedirectLocations.java