org.eclipse.core.databinding.observable.set
Class SetDiff
java.lang.Object
org.eclipse.core.databinding.observable.set.SetDiff
-
All Implemented Interfaces:
-
IDiff
-
public abstract class SetDiff
- extends
Object
- implements
IDiff
-
Since:
- 1.0
SetDiff
public SetDiff()
getAdditions
public abstract
Set getAdditions()
-
-
-
Returns:
- the set of added elements
getRemovals
public abstract
Set getRemovals()
-
-
-
Returns:
- the set of removed elements
isEmpty
public boolean isEmpty()
- Returns true if the diff has no added or removed elements.
-
-
-
Returns:
- true if the diff has no added or removed elements.
-
Since:
- 1.2
applyTo
public void applyTo(
Set set)
- Applies the changes in this diff to the given set
-
-
-
Parameters:
-
set
- the set to which the diff will be applied -
Since:
- 1.2
toString
public
String toString()
-
-
Overrides:
-
toString
in class
Object
-
-
See Also:
-
Object.toString()
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.