Eclipse Platform
Kepler (4.3)

org.eclipse.core.databinding.observable.map
Interface IObservableMap

All Superinterfaces:
IObservable, java.util.Map
All Known Implementing Classes:
AbstractObservableMap, BidiObservableMap, BidirectionalMap, CompositeMap, ComputedObservableMap, DecoratingObservableMap, ObservableMap, WritableMap

public interface IObservableMap
extends java.util.Map, IObservable

Observable Map.

Since:
1.1
See Also:
AbstractObservableMap, ObservableMap
Restriction:
This interface is not intended to be implemented by clients. Clients should instead subclass one of the classes that implement this interface. Note that direct implementers of this interface outside of the framework will be broken in future releases when methods are added to this interface.

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Method Summary
 void addMapChangeListener(IMapChangeListener listener)
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Object getKeyType()
          Returns the element type for the keyset of this observable map, or null if the keyset is untyped.
 java.lang.Object getValueType()
          Returns the element type for the values of this observable map, or null if the values collection is untyped.
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 void removeMapChangeListener(IMapChangeListener listener)
           
 int size()
           
 java.util.Collection values()
           
 
Methods inherited from interface java.util.Map
clear, putAll
 
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable
addChangeListener, addDisposeListener, addStaleListener, dispose, getRealm, isDisposed, isStale, removeChangeListener, removeDisposeListener, removeStaleListener
 

Method Detail

getKeyType

java.lang.Object getKeyType()
Returns the element type for the keyset of this observable map, or null if the keyset is untyped.

Returns:
the element type for the keyset of this observable map, or null if the keyset is untyped.
Since:
1.2

getValueType

java.lang.Object getValueType()
Returns the element type for the values of this observable map, or null if the values collection is untyped.

Returns:
the element type for the values of this observable map, or null if the values collection is untyped.
Since:
1.2

addMapChangeListener

void addMapChangeListener(IMapChangeListener listener)
Parameters:
listener -

removeMapChangeListener

void removeMapChangeListener(IMapChangeListener listener)
Parameters:
listener -

size

int size()
Specified by:
size in interface java.util.Map
"TrackedGetter"

isEmpty

boolean isEmpty()
Specified by:
isEmpty in interface java.util.Map
"TrackedGetter"

containsKey

boolean containsKey(java.lang.Object key)
Specified by:
containsKey in interface java.util.Map
"TrackedGetter"

containsValue

boolean containsValue(java.lang.Object value)
Specified by:
containsValue in interface java.util.Map
"TrackedGetter"

get

java.lang.Object get(java.lang.Object key)
Specified by:
get in interface java.util.Map
"TrackedGetter"

put

java.lang.Object put(java.lang.Object key,
                     java.lang.Object value)
Specified by:
put in interface java.util.Map

remove

java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface java.util.Map

keySet

java.util.Set keySet()
Specified by:
keySet in interface java.util.Map
"TrackedGetter"

values

java.util.Collection values()
Specified by:
values in interface java.util.Map
"TrackedGetter"

entrySet

java.util.Set entrySet()
Specified by:
entrySet in interface java.util.Map
"TrackedGetter"

equals

boolean equals(java.lang.Object o)
Specified by:
equals in interface java.util.Map
Overrides:
equals in class java.lang.Object
"TrackedGetter"

hashCode

int hashCode()
Specified by:
hashCode in interface java.util.Map
Overrides:
hashCode in class java.lang.Object
"TrackedGetter"

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.