Class ContainerMap<K,V>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.container.delegate.AbstractDelegator<Map.Entry<K,V>>
org.eclipse.net4j.util.container.delegate.ContainerMap<K,V>
- All Implemented Interfaces:
Map<K,
,V> IContainerMap<K,
,V> IContainer<Map.Entry<K,
,V>> INotifier
,INotifier.INotifier2
public class ContainerMap<K,V>
extends AbstractDelegator<Map.Entry<K,V>>
implements IContainerMap<K,V>
A default implementation of a
container map
.- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegator
AbstractDelegator.DelegatingIterator
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
isEmpty()
keySet()
void
int
size()
values()
Methods inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegator
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEvent
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ContainerMap
-
-
Method Details
-
getDelegate
- Specified by:
getDelegate
in interfaceIContainerMap<K,
V>
-
clear
public void clear() -
put
-
putAll
-
remove
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Category
- READ
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V> - Category
- READ
-
get
-
size
public int size() -
getElements
- Specified by:
getElements
in interfaceIContainer<K>
- Category
- READ
-
isEmpty
public boolean isEmpty() -
entrySet
-
keySet
-
values
-