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.DelegatingIteratorNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanisEmpty()keySet()voidintsize()values()Methods inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegator
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEventMethods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods 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:
getDelegatein interfaceIContainerMap<K,V>
-
clear
public void clear() -
put
-
putAll
-
remove
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Category
- READ
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Category
- READ
-
get
-
size
public int size() -
getElements
- Specified by:
getElementsin interfaceIContainer<K>- Category
- READ
-
isEmpty
public boolean isEmpty() -
entrySet
-
keySet
-
values
-