|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.types.XAddressInfoSet
public class XAddressInfoSet
| Constructor Summary | |
|---|---|
XAddressInfoSet()
Constructor. |
|
XAddressInfoSet(int initialCapacity)
Constructor. |
|
XAddressInfoSet(XAddressInfo xAdrInfo)
Constructor, adds an XAddressInfo element to this set. |
|
XAddressInfoSet(XAddressInfoSet set)
Copy Constructor. |
|
| Method Summary | |
|---|---|
void |
add(XAddressInfo xAdrInfo)
Adds a XAddressInfo to this set. |
void |
addAll(XAddressInfoSet xAdrInfoSet)
Adds all EprInfo contained within eprinfos to this
instance. |
boolean |
contains(XAddressInfo xAdrInfo)
Checks whether given XAddressInfo is already present within this
set. |
boolean |
containsAll(XAddressInfoSet otherInfoSet)
Checks whether all items within the given XAddressInfoSet are present
within this set. |
boolean |
equals(java.lang.Object obj)
|
boolean |
equals(XAddressInfoSet infosets2)
A specific implementation of Object.equals(Object) for this kind
of set. |
XAddressInfo |
get(XAddressInfo xAdrInfo)
Get the xAdrInfo from this XAddressInfoSet that is equal to the given xAdrInfo. |
int |
hashCode()
|
boolean |
isReadOnly()
Returns whether this set is read-only or not. |
Iterator |
iterator()
|
void |
mergeProtocolInfo(ProtocolInfo protocolInfo)
|
boolean |
remove(XAddressInfo xAdrInfo)
Removes a URI from this URISet. |
void |
setReadOnly()
Sets this set to read-only. |
int |
size()
Returns the current size of this set. |
XAddressInfo[] |
toArray()
Returns an array containing the XAddressInfo objects from this set. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XAddressInfoSet()
public XAddressInfoSet(int initialCapacity)
public XAddressInfoSet(XAddressInfo xAdrInfo)
XAddressInfo element to this set.
xAdrInfo - XAddressInfo element to be added to the new set.public XAddressInfoSet(XAddressInfoSet set)
| Method Detail |
|---|
public Iterator iterator()
public XAddressInfo[] toArray()
XAddressInfo objects from this set.
XAddressInfo objects from this set.public boolean contains(XAddressInfo xAdrInfo)
XAddressInfo is already present within this
set.
infoSet - the XAddressInfo to check.
true if XAddressInfo is contained by this set,
false if notpublic boolean containsAll(XAddressInfoSet otherInfoSet)
XAddressInfoSet are present
within this set.
otherInfoSet - the items to check the presence of
true if all objects within otherInfoSet are
contained by this set, false if at least one of
them is notpublic 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(XAddressInfoSet infosets2)
Object.equals(Object) for this kind
of set.
otherInfoSet - the other XAddressInfoSet to compare.
true if both sets are equals, false
otherwise.Object.equals(Object)public boolean isReadOnly()
A read-only set will not allow any modification.
true if the set is read-only, false
otherwise.public void setReadOnly()
A read-only set will not allow any modification.
public void add(XAddressInfo xAdrInfo)
XAddressInfo to this set.
A UnsupportedOperationException is thrown if this set is
read-only.
xAdrInfo - The XAddressInfo to be added.DataStructure.add(Object)public XAddressInfo get(XAddressInfo xAdrInfo)
xAdrInfo -
null if it does not contained an equal xAdrInfopublic void addAll(XAddressInfoSet xAdrInfoSet)
EprInfo contained within eprinfos to this
instance.
A UnsupportedOperationException is thrown if this set is
read-only.
xAdrInfoSet - the set of EprInfo to add.public boolean remove(XAddressInfo xAdrInfo)
xAdrInfo - The URI to be removed.
true if the argument was a component of this
UniformResourceIdentifierList; false otherwise.DataStructure.remove(Object)public void mergeProtocolInfo(ProtocolInfo protocolInfo)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||