Package org.eclipse.net4j.util.registry
Class HashMapRegistry<K,V>
- java.lang.Object
-
- org.eclipse.net4j.util.event.Notifier
-
- org.eclipse.net4j.util.lifecycle.Lifecycle
-
- org.eclipse.net4j.util.lifecycle.ShareableLifecycle
-
- org.eclipse.net4j.util.container.Container<java.util.Map.Entry<K,V>>
-
- org.eclipse.net4j.util.registry.Registry<K,V>
-
- org.eclipse.net4j.util.registry.HashMapRegistry<K,V>
-
- All Implemented Interfaces:
java.util.Map<K,V>
,IContainer<java.util.Map.Entry<K,V>>
,INotifier
,INotifier.INotifier2
,IDeactivateable
,ILifecycle
,ILifecycle.DeferrableActivation
,IRegistry<K,V>
- Direct Known Subclasses:
HashMapRegistry.AutoCommit
public class HashMapRegistry<K,V> extends Registry<K,V>
- Author:
- Eike Stepper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HashMapRegistry.AutoCommit<K,V>
-
Nested classes/interfaces inherited from class org.eclipse.net4j.util.registry.Registry
Registry.Transaction
-
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.lifecycle.ILifecycle
ILifecycle.DeferrableActivation
-
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2
-
-
Constructor Summary
Constructors Constructor Description HashMapRegistry()
HashMapRegistry(int initialCapacity)
HashMapRegistry(int initialCapacity, float loadFactor)
HashMapRegistry(java.util.Map<? extends K,? extends V> m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<K,V>
getMap()
-
Methods inherited from class org.eclipse.net4j.util.registry.Registry
autoCommit, clear, commit, commit, containsKey, containsValue, deregister, entrySet, get, getElements, getTransaction, isAutoCommit, isEmpty, keySet, put, putAll, register, remove, setAutoCommit, size, toString, values
-
Methods inherited from class org.eclipse.net4j.util.container.Container
fireContainerEvent, fireContainerEvent, fireContainerEvent, fireElementAddedEvent, fireElementRemovedEvent, fireElementsAddedEvent, fireElementsRemovedEvent, fireEvent, newContainerEvent, newContainerEvent
-
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation
-
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, 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, wait, wait, wait
-
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
-