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>
- Type Parameters:
K- the key typeV- the value type
- 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 AbstractDelegator
AbstractDelegator.DelegatingIteratorNested classes/interfaces inherited from class Notifier
Notifier.CancelationNested classes/interfaces inherited from interface IContainer
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>Nested classes/interfaces inherited from interface 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 AbstractDelegator
createEvent, dispatchEvent, fireAddedEvent, fireRemovedEventMethods inherited from class Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListenerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface 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
-
put
-
putAll
-
remove
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Category
- READ
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Category
- READ
-
get
-
size
-
getElements
- Specified by:
getElementsin interfaceIContainer<K>- Category
- READ
-
isEmpty
-
entrySet
-
keySet
-
values
-