Package org.eclipse.net4j.util.registry
Klasse UnmodifiableRegistry<K,V>
java.lang.Object
org.eclipse.net4j.util.registry.UnmodifiableRegistry<K,V>
- Alle implementierten Schnittstellen:
Map<K,,V> IContainer<Map.Entry<K,,V>> INotifier,IRegistry<K,V>
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2 -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddListener(IListener listener) Adds a listener to this notifier.voidclear()voidcommit()voidcommit(boolean notifications) booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanReturns the listeners that are registered with this notifier.inthashCode()booleanReturnstrueif one or more listeners are registered with this notifier,falseotherwise.booleanbooleanisEmpty()keySet()voidvoidremoveListener(IListener listener) Removes a listener from this notifier.voidsetAutoCommit(boolean on) intsize()values()Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Konstruktordetails
-
UnmodifiableRegistry
-
-
Methodendetails
-
addListener
Beschreibung aus Schnittstelle kopiert:INotifierAdds a listener to this notifier.Depending on the implementation duplicate listeners may lead to duplicate event delivery or not. Implementors are encouraged to prevent events from being delivered more than once to the same listener,
- Angegeben von:
addListenerin SchnittstelleINotifier
-
removeListener
Beschreibung aus Schnittstelle kopiert:INotifierRemoves a listener from this notifier.- Angegeben von:
removeListenerin SchnittstelleINotifier
-
getListeners
Beschreibung aus Schnittstelle kopiert:INotifierReturns the listeners that are registered with this notifier.Depending on the implementation duplicate listeners may be contained in the returned array.
- Angegeben von:
getListenersin SchnittstelleINotifier- Seit:
- 3.0
-
hasListeners
public boolean hasListeners()Beschreibung aus Schnittstelle kopiert:INotifierReturnstrueif one or more listeners are registered with this notifier,falseotherwise.- Angegeben von:
hasListenersin SchnittstelleINotifier- Seit:
- 3.0
-
put
-
putAll
-
remove
-
clear
public void clear() -
commit
public void commit() -
commit
public void commit(boolean notifications) -
setAutoCommit
public void setAutoCommit(boolean on) - Angegeben von:
setAutoCommitin SchnittstelleIRegistry<K,V>
-
isAutoCommit
public boolean isAutoCommit()- Angegeben von:
isAutoCommitin SchnittstelleIRegistry<K,V>
-
isEmpty
public boolean isEmpty() -
size
public int size() -
getElements
- Angegeben von:
getElementsin SchnittstelleIContainer<K>
-
get
-
containsKey
- Angegeben von:
containsKeyin SchnittstelleMap<K,V>
-
containsValue
- Angegeben von:
containsValuein SchnittstelleMap<K,V>
-
entrySet
-
keySet
-
values
-
equals
-
hashCode
public int hashCode()
-