Spec-Zone .ru
спецификации, руководства, описания, API
|
public interface ObservableMap<K,V> extends java.util.Map<K,V>, Observable
MapChangeListener
,
MapChangeListener.Change
Modifier and Type | Method and Description |
---|---|
void |
addListener(MapChangeListener<? super K,? super V> listener)
Add a listener to this observable map.
|
void |
removeListener(MapChangeListener<? super K,? super V> listener)
Tries to removed a listener from this observable list.
|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
addListener, removeListener
void addListener(MapChangeListener<? super K,? super V> listener)
listener
- the listener for listening to the list changesvoid removeListener(MapChangeListener<? super K,? super V> listener)
listener
- a listener to removeCopyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to