|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ws4d.java.types.EprInfoSet
public class EprInfoSet
| Constructor Summary | |
|---|---|
EprInfoSet()
Constructor. |
|
EprInfoSet(EprInfo epr)
Constructor, adds an EprInfo element to this set. |
|
EprInfoSet(EprInfoSet set)
Copy Constructor. |
|
EprInfoSet(int initialCapacity)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(EprInfo eprinfo)
Adds a EprInfo to this set. |
void |
addAll(EprInfoSet eprInfoSet)
Adds all EprInfo contained within eprinfos to this
instance. |
boolean |
contains(EprInfo infoSet)
Checks whether given EprInfo is already present within this set. |
boolean |
containsAll(EprInfoSet otherInfoSet)
Checks whether all items within the given EprInfoSet are present
within this set. |
boolean |
containsEprAddress(AttributedURI address)
|
boolean |
equals(EprInfoSet otherInfoSet)
A specific implementation of Object.equals(Object) for this kind
of set. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
isReadOnly()
Returns whether this set is read-only or not. |
Iterator |
iterator()
|
boolean |
remove(EprInfo eprInfo)
Removes a EprInfo from this set. |
void |
setReadOnly()
Sets this set to read-only. |
int |
size()
Returns the current size of this set. |
EprInfo[] |
toArray()
Returns an array containing the EprInfo objects from this set. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EprInfoSet()
public EprInfoSet(int initialCapacity)
public EprInfoSet(EprInfo epr)
EprInfo element to this set.
epr - EprInfo element to be added to the new set.public EprInfoSet(EprInfoSet set)
| Method Detail |
|---|
public Iterator iterator()
public EprInfo[] toArray()
EprInfo objects from this set.
EprInfo objects from this set.public boolean contains(EprInfo infoSet)
EprInfo is already present within this set.
infoSet - the EprInfo to check.
true if EprInfo is contained by this set,
false if notpublic boolean containsAll(EprInfoSet otherInfoSet)
EprInfoSet 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(EprInfoSet otherInfoSet)
Object.equals(Object) for this kind
of set.
otherInfoSet - the other EprInfoSet 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 boolean containsEprAddress(AttributedURI address)
public void add(EprInfo eprinfo)
EprInfo to this set.
A UnsupportedOperationException is thrown if this set is
read-only.
eprinfo - The EprInfo to be added.DataStructure.add(Object)public void addAll(EprInfoSet eprInfoSet)
EprInfo contained within eprinfos to this
instance.
A UnsupportedOperationException is thrown if this set is
read-only.
eprInfoSet - the set of EprInfo to add.public boolean remove(EprInfo eprInfo)
EprInfo from this set.
A UnsupportedOperationException is thrown if this set is
read-only.
eprInfo - The EprInfo to be removed.
true if the argument was a component of this set and
was removed, false otherwise.DataStructure.remove(Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||