Eclipse Platform
Release 3.3

org.eclipse.core.databinding.observable.map
Class MapDiff

java.lang.Object
  extended byorg.eclipse.core.databinding.observable.map.MapDiff

public abstract class MapDiff
extends Object

Since:
1.1

Constructor Summary
MapDiff()
           
 
Method Summary
abstract  Set getAddedKeys()
           
abstract  Set getChangedKeys()
           
abstract  Object getNewValue(Object key)
          Returns the new value for the given key, which must be an element of getChangedKeys() or getAddedKeys().
abstract  Object getOldValue(Object key)
          Returns the old value for the given key, which must be an element of getRemovedKeys() or getChangedKeys().
abstract  Set getRemovedKeys()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapDiff

public MapDiff()
Method Detail

getAddedKeys

public abstract Set getAddedKeys()
Returns:
the set of keys which were added

getRemovedKeys

public abstract Set getRemovedKeys()
Returns:
the set of keys which were removed

getChangedKeys

public abstract Set getChangedKeys()
Returns:
the set of keys for which the value has changed

getOldValue

public abstract Object getOldValue(Object key)
Returns the old value for the given key, which must be an element of getRemovedKeys() or getChangedKeys().

Parameters:
key -
Returns:
the old value for the given key.

getNewValue

public abstract Object getNewValue(Object key)
Returns the new value for the given key, which must be an element of getChangedKeys() or getAddedKeys().

Parameters:
key -
Returns:
the new value for the given key.

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

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