Eclipse Platform
Release 3.3

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

All Superinterfaces:
IObservable, Map
All Known Implementing Classes:
AbstractObservableMap, ObservableMap

public interface IObservableMap
extends Map, IObservable

Observable Map.

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.

Since:
1.1

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Method Summary
 void addMapChangeListener(IMapChangeListener listener)
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set entrySet()
           
 boolean equals(Object o)
           
 Object get(Object key)
           
 int hashCode()
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 Object remove(Object key)
           
 void removeMapChangeListener(IMapChangeListener listener)
           
 int size()
           
 Collection values()
           
 
Methods inherited from interface java.util.Map
clear, putAll
 
Methods inherited from interface org.eclipse.core.databinding.observable.IObservable
addChangeListener, addStaleListener, dispose, getRealm, isStale, removeChangeListener, removeStaleListener
 

Method Detail

addMapChangeListener

public void addMapChangeListener(IMapChangeListener listener)
Parameters:
listener -

removeMapChangeListener

public void removeMapChangeListener(IMapChangeListener listener)
Parameters:
listener -

size

public int size()
Specified by:
size in interface Map
"TrackedGetter"

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
"TrackedGetter"

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map
"TrackedGetter"

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map
"TrackedGetter"

get

public Object get(Object key)
Specified by:
get in interface Map
"TrackedGetter"

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map

remove

public Object remove(Object key)
Specified by:
remove in interface Map

keySet

public Set keySet()
Specified by:
keySet in interface Map
"TrackedGetter"

values

public Collection values()
Specified by:
values in interface Map
"TrackedGetter"

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
"TrackedGetter"

equals

public boolean equals(Object o)
Specified by:
equals in interface Map
"TrackedGetter"

hashCode

public int hashCode()
Specified by:
hashCode in interface Map
"TrackedGetter"

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.