data.networks
Enum CombinationRules.CombinationType

java.lang.Object
  extended by java.lang.Enum<CombinationRules.CombinationType>
      extended by data.networks.CombinationRules.CombinationType
All Implemented Interfaces:
Serializable, Comparable<CombinationRules.CombinationType>
Enclosing class:
CombinationRules

public static enum CombinationRules.CombinationType
extends Enum<CombinationRules.CombinationType>

Defines how the nodes of both source networks are combined into a new set of nodes


Enum Constant Summary
INTERSECT
          Only use intersection of the two sets of input nodes
MERGE
          Merge the two sets of input nodes (calculate union)
 
Method Summary
static CombinationRules.CombinationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CombinationRules.CombinationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MERGE

public static final CombinationRules.CombinationType MERGE
Merge the two sets of input nodes (calculate union)


INTERSECT

public static final CombinationRules.CombinationType INTERSECT
Only use intersection of the two sets of input nodes

Method Detail

values

public static CombinationRules.CombinationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CombinationRules.CombinationType c : CombinationRules.CombinationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CombinationRules.CombinationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null