|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet
org.eodisp.hla.common.handles.FederateHandleSetImpl
public class FederateHandleSetImpl
All Set operations are required, none are optional. Methods
add and remove should throw
IllegalArgumentException if the argument is not a
FederateHandleHandle. Methods addAll,
removeAll and retainAll should throw
IllegalArgumentException if the argument is not a
FederateHandleSet.
| Constructor Summary | |
|---|---|
protected |
FederateHandleSetImpl()
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 FederateHandleSetImpl()
| Method Detail |
|---|
public boolean add(java.lang.Object o)
add in interface java.util.Collectionadd in interface java.util.Setadd in class java.util.HashSeto - 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 FederateHandlepublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.Setremove in class java.util.HashSeto - 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 FederateHandlepublic boolean addAll(java.util.Collection c)
addAll in interface java.util.CollectionaddAll in interface java.util.SetaddAll in class java.util.AbstractCollectionc - 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 FederateHandleSetpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.CollectionremoveAll in interface java.util.SetremoveAll in class java.util.AbstractSetc - 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 FederateHandleSetpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in interface java.util.SetretainAll in class java.util.AbstractCollectionc - 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 FederateHandleSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||