Class ContainerCollection<E>
- java.lang.Object
- 
- org.eclipse.net4j.util.event.Notifier
- 
- org.eclipse.net4j.util.container.delegate.AbstractDelegator<E>
- 
- org.eclipse.net4j.util.container.delegate.ContainerCollection<E>
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<E>,- java.util.Collection<E>,- IContainerCollection<E>,- IContainer<E>,- INotifier,- INotifier.INotifier2
 - Direct Known Subclasses:
- ContainerList,- ContainerQueue,- ContainerSet
 
 public class ContainerCollection<E> extends AbstractDelegator<E> implements IContainerCollection<E> A default implementation of acontainer collection.- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegatorAbstractDelegator.DelegatingIterator
 - 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerIContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
 - 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifierINotifier.INotifier2
 
- 
 - 
Constructor SummaryConstructors Constructor Description ContainerCollection(java.util.Collection<E> delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E o)booleanaddAll(java.util.Collection<? extends E> c)voidclear()booleancontains(java.lang.Object o)booleancontainsAll(java.util.Collection<?> c)booleanequals(java.lang.Object o)java.util.Collection<E>getDelegate()E[]getElements()inthashCode()booleanisEmpty()java.util.Iterator<E>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)intsize()java.lang.Object[]toArray()<T> T[]toArray(T[] a)- 
Methods inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegatorcreateEvent, dispatchEvent, fireAddedEvent, fireRemovedEvent
 - 
Methods inherited from class org.eclipse.net4j.util.event.NotifieraddListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, removeIf, spliterator, stream, toArray
 - 
Methods inherited from interface org.eclipse.net4j.util.event.INotifieraddListener, getListeners, hasListeners, removeListener
 
- 
 
- 
- 
- 
Constructor Detail- 
ContainerCollectionpublic ContainerCollection(java.util.Collection<E> delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic java.util.Collection<E> getDelegate() - Specified by:
- getDelegatein interface- IContainerCollection<E>
 
 - 
getElementspublic E[] getElements() - Specified by:
- getElementsin interface- IContainer<E>
 
 - 
addAllpublic boolean addAll(java.util.Collection<? extends E> c) - Specified by:
- addAllin interface- java.util.Collection<E>
- Category
- WRITE
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- java.util.Collection<E>
- Category
- WRITE
 
 - 
removepublic boolean remove(java.lang.Object o) - Specified by:
- removein interface- java.util.Collection<E>
- Category
- WRITE
 
 - 
removeAllpublic boolean removeAll(java.util.Collection<?> c) - Specified by:
- removeAllin interface- java.util.Collection<E>
- Category
- WRITE
 
 - 
retainAllpublic boolean retainAll(java.util.Collection<?> c) - Specified by:
- retainAllin interface- java.util.Collection<E>
- Category
- WRITE
 
 - 
containspublic boolean contains(java.lang.Object o) - Specified by:
- containsin interface- java.util.Collection<E>
- Category
- READ
 
 - 
containsAllpublic boolean containsAll(java.util.Collection<?> c) - Specified by:
- containsAllin interface- java.util.Collection<E>
- Category
- READ
 
 - 
equalspublic boolean equals(java.lang.Object o) - Specified by:
- equalsin interface- java.util.Collection<E>
- Overrides:
- equalsin class- java.lang.Object
- Category
- READ
 
 - 
hashCodepublic int hashCode() - Specified by:
- hashCodein interface- java.util.Collection<E>
- Overrides:
- hashCodein class- java.lang.Object
- Category
- READ
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- java.util.Collection<E>
- Specified by:
- isEmptyin interface- IContainer<E>
- Category
- READ
 
 - 
iteratorpublic java.util.Iterator<E> iterator() 
 - 
sizepublic int size() - Specified by:
- sizein interface- java.util.Collection<E>
- Category
- READ
 
 - 
toArraypublic java.lang.Object[] toArray() - Specified by:
- toArrayin interface- java.util.Collection<E>
- Category
- READ
 
 - 
toArraypublic <T> T[] toArray(T[] a) - Specified by:
- toArrayin interface- java.util.Collection<E>
- Category
- READ
 
 
- 
 
-