Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.databinding.observable.set
Class SetDiff

java.lang.Object
  extended by 
org.eclipse.core.databinding.observable.set.SetDiff
All Implemented Interfaces:
IDiff

public abstract class SetDiff
extends Object
implements IDiff

Since:
1.0

Constructor Summary
SetDiff ()
           
 
Method Summary
 void applyTo ( Set set)
          Applies the changes in this diff to the given set
abstract   Set getAdditions ()
           
abstract   Set getRemovals ()
           
 boolean isEmpty ()
          Returns true if the diff has no added or removed elements.
  String toString ()
           
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetDiff

public SetDiff()
Method Detail

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()

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire