org.eclipse.net4j.util.container
Interface IContainer<E>

All Superinterfaces:
INotifier
All Known Subinterfaces:
IContainer.Modifiable<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, Container, ContainerBlockingQueue, ContainerCollection, ContainerList, ContainerMap, ContainerQueue, ContainerSet, ContainerSortedSet, DelegatingRegistry, HashMapDelegatingRegistry, HashMapRegistry, ManagedContainer, Registry, SetContainer, UnmodifiableRegistry

public interface IContainer<E>
extends INotifier

Contains a number of elements and notifies about element addition and removal.

A container can fire the following events:


Nested Class Summary
static interface IContainer.Modifiable<E>
          A container with additional methods to add or remove elements.
 
Method Summary
 E[] getElements()
           
 boolean isEmpty()
           
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

isEmpty

boolean isEmpty()

getElements

E[] getElements()


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.