java.net.URI s used
as redirect locations.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(final URI
element to be appended to this list uri)Overrides java. Implements java. |
| public void | add(final int
index at which the specified element is to be inserted index, final Object URI to be inserted element)Overrides java. Implements java. |
| public boolean | |
| public boolean | Returns: true if this collection contains the specified
elementelement whose presence in this collection is to be tested o)Overrides java. Implements java. true if this collection contains the specified element.
|
| public URI | Returns: the URI at the specified position in this listindex of the location to return index)Implements abstract java. Implements java. |
| public List | |
| public boolean | |
| public URI | Returns: the URI previously at the specified positionthe index of the URI to be removed index)Overrides java. Implements java. |
| public Object | Returns: the URI previously at the specified positionindex of the element to replace index, final Object URI to be stored at the specified position element)Overrides java. Implements java. |
| public int | Returns: the number of elements in this listImplements abstract java. Implements java. |
| all | back to summary |
|---|---|
| private final List<URI> all | |
| unique | back to summary |
|---|---|
| private final Set<URI> unique | |
| RedirectLocations | back to summary |
|---|---|
| public RedirectLocations() | |
| add | back to summary |
|---|---|
| public void add(final URI uri) Overrides java. Implements java. Adds a new URI to the collection.
| |
| add | back to summary |
|---|---|
| public void add(final int index, final Object element) Overrides java. Implements java. Inserts the specified element at the specified position in this list (must be a URI). Shifts the URI currently at that position (if any) and any subsequent URIs to the right (adds one to their indices).
| |
| contains | back to summary |
|---|---|
| public boolean contains(final URI uri) Test if the URI is present in the collection. | |
| contains | back to summary |
|---|---|
| public boolean contains(final Object o) Overrides java. Implements java. Returns | |
| get | back to summary |
|---|---|
| public URI get(final int index) Implements abstract java. Implements java. Returns the URI at the specified position in this list.
| |
| getAll | back to summary |
|---|---|
| public List Returns all redirect | |
| remove | back to summary |
|---|---|
| public boolean remove(final URI uri) Removes a URI from the collection. | |
| remove | back to summary |
|---|---|
| public URI remove(final int index) Overrides java. Implements java. Removes the URI at the specified position in this list. Shifts any subsequent URIs to the left (subtracts one from their indices). Returns the URI that was removed from the list.
| |
| set | back to summary |
|---|---|
| public Object set(final int index, final Object element) Overrides java. Implements java. Replaces the URI at the specified position in this list with the specified element (must be a URI).
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Returns the number of elements in this list. If this list contains more
than
| |