org.eclipse.net4j.util.registry
Class HashMapRegistry<K,V>

java.lang.Object
  extended by org.eclipse.net4j.util.event.Notifier
      extended by org.eclipse.net4j.util.lifecycle.Lifecycle
          extended by org.eclipse.net4j.util.container.Container<java.util.Map.Entry<K,V>>
              extended by org.eclipse.net4j.util.registry.Registry<K,V>
                  extended by 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.Introspection, ILifecycle, ILifecycle.Introspection, IRegistry<K,V>

public class HashMapRegistry<K,V>
extends Registry<K,V>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.util.registry.Registry
Registry.Transaction
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.Introspection
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.Introspection
 
Field Summary
 
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
 
Constructor Summary
HashMapRegistry()
           
HashMapRegistry(int initialCapacity)
           
HashMapRegistry(int initialCapacity, float loadFactor)
           
HashMapRegistry(java.util.Map<? extends K,? extends V> m)
           
 
Method Summary
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, fireElementAddedEvent, fireElementRemovedEvent, newContainerEvent, newContainerEvent
 
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, deferredDeactivate, doActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, isDeferredDeactivation
 
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, fireEvent, getListeners, hasListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, removeListener
 

Constructor Detail

HashMapRegistry

public HashMapRegistry()

HashMapRegistry

public HashMapRegistry(int initialCapacity)

HashMapRegistry

public HashMapRegistry(int initialCapacity,
                       float loadFactor)

HashMapRegistry

public HashMapRegistry(java.util.Map<? extends K,? extends V> m)
Method Detail

getMap

protected java.util.Map<K,V> getMap()
Specified by:
getMap in class Registry<K,V>

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.