Package org.eclipse.net4j.util.container
Interface IContainer.Persistable<E>
- All Superinterfaces:
IContainer<E>
,INotifier
- All Known Implementing Classes:
ListContainer
,PersistableContainer
,SetContainer
- Enclosing interface:
- IContainer<E>
A
container
with additional methods to add or remove elements.- Since:
- 3.5
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
load()
void
save()
void
setPersistence
(IContainer.Persistence<E> persistence) Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getPersistence
IContainer.Persistence<E> getPersistence() -
setPersistence
-
load
- Throws:
IORuntimeException
-
save
- Throws:
IORuntimeException
-