Interface IContainer<E>
- Type Parameters:
E- the element type
- All Superinterfaces:
INotifier
- All Known Subinterfaces:
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainerBlockingQueue<E>, IContainerCollection<E>, IContainerList<E>, IContainerMap<K,V>, IContainerQueue<E>, IContainerSet<E>, IContainerSortedSet<E>, IManagedContainer, IPluginContainer, IRegistry<K, V>
- All Known Implementing Classes:
AbstractDelegator, org.eclipse.net4j.internal.util.bundle.AbstractManagedContainer, Container, ContainerBlockingQueue, ContainerCollection, ContainerElementList, ContainerList, ContainerMap, ContainerQueue, ContainerSet, ContainerSortedSet, DelegatingRegistry, HashMapDelegatingRegistry, HashMapRegistry, HashMapRegistry.AutoCommit, ListContainer, ManagedContainer, ModifiableContainer, PersistableContainer, Registry, ScopedRegistry, SetContainer, UnmodifiableRegistry
Contains a number of elements and notifies about element addition and removal.
A container can fire the following events:
-
IContainerEventafter the addition and/or removal of elements.
- Author:
- Eike Stepper
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAcontainerwith additional methods to add or remove elements.static interfaceAcontainerwith additional methods to add or remove elements.static interfaceLoads and stores the elements of a container.Nested classes/interfaces inherited from interface INotifier
INotifier.INotifier2 -
Method Summary
Methods inherited from interface INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
isEmpty
boolean isEmpty() -
getElements
E[] getElements()
-