public interface IContainer<E> extends INotifier
A container can fire the following events:
IContainerEvent
after the addition and/or removal of elements.
IContainerEvent
- - firesObject
- - elementsModifier and Type | Interface and Description |
---|---|
static interface |
IContainer.Modifiable<E>
A
container with additional methods to add or remove elements. |
static interface |
IContainer.Persistable<E>
A
container with additional methods to add or remove elements. |
static interface |
IContainer.Persistence<E> |
Modifier and Type | Method and Description |
---|---|
E[] |
getElements() |
boolean |
isEmpty() |
addListener, getListeners, hasListeners, removeListener
boolean isEmpty()
E[] getElements()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html