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 TypMethodeBeschreibungvoid
addListener
(IListener listener) Adds a listener to this notifier.void
clear()
void
commit()
void
commit
(boolean notifications) boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
Returns the listeners that are registered with this notifier.int
hashCode()
boolean
Returnstrue
if one or more listeners are registered with this notifier,false
otherwise.boolean
boolean
isEmpty()
keySet()
void
void
removeListener
(IListener listener) Removes a listener from this notifier.void
setAutoCommit
(boolean on) int
size()
values()
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Von 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:INotifier
Adds 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:
addListener
in SchnittstelleINotifier
-
removeListener
Beschreibung aus Schnittstelle kopiert:INotifier
Removes a listener from this notifier.- Angegeben von:
removeListener
in SchnittstelleINotifier
-
getListeners
Beschreibung aus Schnittstelle kopiert:INotifier
Returns the listeners that are registered with this notifier.Depending on the implementation duplicate listeners may be contained in the returned array.
- Angegeben von:
getListeners
in SchnittstelleINotifier
- Seit:
- 3.0
-
hasListeners
public boolean hasListeners()Beschreibung aus Schnittstelle kopiert:INotifier
Returnstrue
if one or more listeners are registered with this notifier,false
otherwise.- Angegeben von:
hasListeners
in 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:
setAutoCommit
in SchnittstelleIRegistry<K,
V>
-
isAutoCommit
public boolean isAutoCommit()- Angegeben von:
isAutoCommit
in SchnittstelleIRegistry<K,
V>
-
isEmpty
public boolean isEmpty() -
size
public int size() -
getElements
- Angegeben von:
getElements
in SchnittstelleIContainer<K>
-
get
-
containsKey
- Angegeben von:
containsKey
in SchnittstelleMap<K,
V>
-
containsValue
- Angegeben von:
containsValue
in SchnittstelleMap<K,
V>
-
entrySet
-
keySet
-
values
-
equals
-
hashCode
public int hashCode()
-