| Constructor and Description | 
|---|
| RedirectLocations() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(URI uri)Adds a new URI to the collection. | 
| void | clear() | 
| boolean | contains(URI uri)Test if the URI is present in the collection. | 
| URI | get(int index)Returns the URI at the specified position in this list. | 
| List<URI> | getAll()Returns all redirect  URIs in the order they were added to the collection. | 
| int | size()Returns the number of elements in this list. | 
public boolean contains(URI uri)
public void add(URI uri)
public List<URI> getAll()
URIs in the order they were added to the collection.public URI get(int index)
index - index of the location to returnIndexOutOfBoundsException - if the index is out of range (
             index < 0 || index >= size())public int size()
Integer.MAX_VALUE elements, returns
 Integer.MAX_VALUE.public void clear()
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.