|
||||||||||
| 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.XRTIRegionHandleSet
A set of RegionHandles. All Set operations are required;
none are optional. Methods add and remove should throw
IllegalArgumentException if the argument is not a RegionHandle.
Methods addAll, removeAll and retainAll should
throw IllegalArgumentException if the argument is not a
RegionHandleSet.
| Constructor Summary | |
protected |
XRTIRegionHandleSet()
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 XRTIRegionHandleSet()
| 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 a
RegionHandlepublic 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 a
RegionHandlepublic 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 a
RegionHandleSetpublic 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 a
RegionHandleSetpublic 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 a
RegionHandleSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||