|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.databinding.observable.set.SetDiff
public abstract class SetDiff
| Constructor Summary | |
|---|---|
SetDiff()
|
|
| Method Summary | |
|---|---|
void |
applyTo(java.util.Set set)
Applies the changes in this diff to the given set |
abstract java.util.Set |
getAdditions()
|
abstract java.util.Set |
getRemovals()
|
boolean |
isEmpty()
Returns true if the diff has no added or removed elements. |
java.util.Set |
simulateOn(java.util.Set set)
Returns a Set showing what set would look like if
this diff were applied to it. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SetDiff()
| Method Detail |
|---|
public abstract java.util.Set getAdditions()
public abstract java.util.Set getRemovals()
public boolean isEmpty()
public void applyTo(java.util.Set set)
set - the set to which the diff will be appliedpublic java.util.Set simulateOn(java.util.Set set)
Set showing what set would look like if
this diff were applied to it. The passed-in list is presumed to contain
all elements in getRemovals(), and none of the elements in
getAdditions().
Note:the returned list is only guaranteed to be valid while the passed in set remains unchanged.
set - the set over which the diff will be simulated
Set showing what set would look like if it
were passed to the applyTo(Set) method.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.