Eclipse Platform
Release 3.3

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

java.lang.Object
  extended by org.eclipse.core.databinding.observable.map.MapDiff

public abstract class MapDiff
extends java.lang.Object

Since:
1.1

Constructor Summary
MapDiff()
           
 
Method Summary
abstract  java.util.Set getAddedKeys()
           
abstract  java.util.Set getChangedKeys()
           
abstract  java.lang.Object getNewValue(java.lang.Object key)
          Returns the new value for the given key, which must be an element of getChangedKeys() or getAddedKeys().
abstract  java.lang.Object getOldValue(java.lang.Object key)
          Returns the old value for the given key, which must be an element of getRemovedKeys() or getChangedKeys().
abstract  java.util.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 java.util.Set getAddedKeys()
Returns:
the set of keys which were added

getRemovedKeys

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

getChangedKeys

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

getOldValue

public abstract java.lang.Object getOldValue(java.lang.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 java.lang.Object getNewValue(java.lang.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.