|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.npsnet.xrti.XRTIAttributeHandleSet
All Set operations are required, none are optional. Methods
add and remove should throw
IllegalArgumentException if the argument is not an
AttributeHandle. Methods addAll,
removeAll and retainAll should throw
IllegalArgumentException if the argument is not an
AttributeHandleSet.
| Constructor Summary | |
protected |
XRTIAttributeHandleSet()
Constructor. |
| Method Summary | |
boolean |
add(java.lang.Object o)
Adds the specified object to this set. |
boolean |
addAll(java.util.Collection c)
Adds all of the objects in the specified collection to this set. |
boolean |
remove(java.lang.Object o)
Removes the specified object from this set. |
boolean |
removeAll(java.util.Collection c)
Removes all of the objects in the specified collection from this set. |
boolean |
retainAll(java.util.Collection c)
Removes all of the objects in this set except for those present in the specified collection. |
| Methods inherited from class java.util.HashSet |
clear, clone, contains, isEmpty, iterator, size |
| Methods inherited from class java.util.AbstractSet |
equals, hashCode |
| Methods inherited from class java.util.AbstractCollection |
containsAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Set |
clear, contains, containsAll, equals, hashCode, isEmpty, iterator, size, toArray, toArray |
| Constructor Detail |
protected XRTIAttributeHandleSet()
| Method Detail |
public boolean add(java.lang.Object o)
add in interface java.util.Seto - the object to add
true if the set changed as a result of this
method call, false otherwise
java.lang.IllegalArgumentException - if the object is not an
AttributeHandlepublic boolean remove(java.lang.Object o)
remove in interface java.util.Seto - the object to remove
true if the set changed as a result of this
method call, false otherwise
java.lang.IllegalArgumentException - if the object is not an
AttributeHandlepublic boolean addAll(java.util.Collection c)
addAll in interface java.util.Setc - the collection containing the objects to add
true if the set changed as a result of this
method call, false otherwise
java.lang.IllegalArgumentException - if the collection is not an
AttributeHandleSetpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.Setc - the collection containing the objects to remove
true if the set changed as a result of this
method call, false otherwise
java.lang.IllegalArgumentException - if the collection is not an
AttributeHandleSetpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.Setc - the collection containing the objects to retain
true if the set changed as a result of this
method call, false otherwise
java.lang.IllegalArgumentException - if the collection is not an
AttributeHandleSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||