public class URISet
extends java.lang.Object
| Constructor and Description |
|---|
URISet()
Constructor.
|
URISet(int initialCapacity)
Constructor.
|
URISet(URI uri)
Constructor, adds QualifiedName element.
|
URISet(URISet set)
Copy Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(URI uri)
Adds a URI to this URISet.
|
void |
addAll(URISet uris) |
boolean |
contains(URI uri) |
boolean |
containsAll(URISet uridentifiers) |
boolean |
equals(java.lang.Object obj) |
boolean |
equals(URISet other) |
int |
hashCode() |
boolean |
isReadOnly() |
Iterator |
iterator() |
boolean |
remove(URI uri)
Removes a URI from this URISet.
|
void |
setReadOnly()
Sets this URISet to readOnly.
|
int |
size() |
URI[] |
toArray() |
java.lang.String |
toString() |
public URISet()
public URISet(int initialCapacity)
public URISet(URI uri)
uri - QualifiedName element to be added to new URISetpublic URISet(URISet set)
public Iterator iterator()
public URI[] toArray()
public boolean contains(URI uri)
public boolean containsAll(URISet uridentifiers)
public int size()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(URISet other)
public boolean isReadOnly()
public void setReadOnly()
public void add(URI uri)
uri - The URI to be added.List.add(Object)public void addAll(URISet uris)
public boolean remove(URI uri)
uri - The URI to be removed.true if the argument was a component of this UniformResourceIdentifierList;
false otherwise.DataStructure.remove(Object)