|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.eventmanager.CompositeIterable<E>
org.eclipse.ocl.examples.eventmanager.util.CompositeCollection<E>
org.eclipse.ocl.examples.eventmanager.util.CompositeSet<E>
public class CompositeSet<E>
A composite collection that has unique entries only. Clients need to assert this property by themselves because only this way can we save the effort of actually iterating all elements of all sets which is the whole purpose of this class.
| Constructor Summary | |
|---|---|
CompositeSet(java.util.Set<? extends E>... sets)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
| Methods inherited from class org.eclipse.ocl.examples.eventmanager.util.CompositeCollection |
|---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Methods inherited from class org.eclipse.ocl.examples.eventmanager.CompositeIterable |
|---|
getIterables |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Set |
|---|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
public CompositeSet(java.util.Set<? extends E>... sets)
| Method Detail |
|---|
public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<E>equals in interface java.util.Set<E>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<E>hashCode in interface java.util.Set<E>hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||