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

  




 

 



org.eclipse.jst.jsf.common.sets
Class AxiomaticSetUtil

java.lang.Object
  extended by 
org.eclipse.jst.jsf.common.sets.AxiomaticSetUtil

public class AxiomaticSetUtil
extends java.lang.Object

Generic (unoptimized) utilities for doing set operations.

Provisional API - subject to change


Constructor Summary
AxiomaticSetUtil ()
           
 
Method Summary
static void intersect ( AxiomaticSet newSet, AxiomaticSet firstSet, AxiomaticSet secondSet)
          Creates an intersection of firstSet and secondSet in newSet
static boolean isDisjoint ( AxiomaticSet firstSet, AxiomaticSet secondSet)
           
static  AxiomaticSet subtract ( AxiomaticSet firstOperand, AxiomaticSet secondOperand)
           
static void union ( AxiomaticSet newSet, AxiomaticSet firstSet, AxiomaticSet secondSet)
          Creates the union of firstSet and secondSet in newSet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxiomaticSetUtil

public AxiomaticSetUtil()
Method Detail

union

public static void union(
AxiomaticSet newSet,
                         
AxiomaticSet firstSet,
                         
AxiomaticSet secondSet)
Creates the union of firstSet and secondSet in newSet.

Parameters:
newSet -
firstSet -
secondSet -

intersect

public static void intersect(
AxiomaticSet newSet,
                             
AxiomaticSet firstSet,
                             
AxiomaticSet secondSet)
Creates an intersection of firstSet and secondSet in newSet

Parameters:
newSet -
firstSet -
secondSet -

isDisjoint

public static boolean isDisjoint(
AxiomaticSet firstSet,
                                 
AxiomaticSet secondSet)
Parameters:
firstSet -
secondSet -
Returns:
true firstSet and secondSet have no common elements (their intersection is empty)

subtract

public static 
AxiomaticSet subtract(
AxiomaticSet firstOperand,
                                    
AxiomaticSet secondOperand)
Parameters:
firstOperand -
secondOperand -
Returns:
the set formed by removing the intersection of firstOperand and secondOperand from firstOperand, leaving only those elements in firstOperand that are not in secondOperand



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