Package daikon
Enum Quantify.QuantFlags
- Object
-
- Enum<Quantify.QuantFlags>
-
- QuantFlags
-
- All Implemented Interfaces:
Serializable
,Comparable<Quantify.QuantFlags>
- Enclosing class:
- Quantify
public static enum Quantify.QuantFlags extends Enum<Quantify.QuantFlags>
Flags describing how quantifications are to be built.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJACENT
two indices where the second is one more than the firstDISTINCT
two indices are differentELEMENT_WISE
two indices where they refer to corresponding positionsINCLUDE_INDEX
Return the names of the index variables.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnumSet<Quantify.QuantFlags>
adjacent()
set with just ADJACENT turned onstatic EnumSet<Quantify.QuantFlags>
distinct()
set with just DISTINCT turned onstatic EnumSet<Quantify.QuantFlags>
element_wise()
set with just ELEMENT_WISE turned onstatic EnumSet<Quantify.QuantFlags>
include_index()
set with just INCLUDE_INDEX turned onstatic Quantify.QuantFlags
valueOf(String name)
Returns the enum constant of this type with the specified name.static Quantify.QuantFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELEMENT_WISE
public static final Quantify.QuantFlags ELEMENT_WISE
two indices where they refer to corresponding positions
-
ADJACENT
public static final Quantify.QuantFlags ADJACENT
two indices where the second is one more than the first
-
DISTINCT
public static final Quantify.QuantFlags DISTINCT
two indices are different
-
INCLUDE_INDEX
public static final Quantify.QuantFlags INCLUDE_INDEX
Return the names of the index variables.
-
-
Method Detail
-
values
public static Quantify.QuantFlags[] 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 (Quantify.QuantFlags c : Quantify.QuantFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Quantify.QuantFlags 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 nameNullPointerException
- if the argument is null
-
element_wise
public static EnumSet<Quantify.QuantFlags> element_wise()
set with just ELEMENT_WISE turned on
-
adjacent
public static EnumSet<Quantify.QuantFlags> adjacent()
set with just ADJACENT turned on
-
distinct
public static EnumSet<Quantify.QuantFlags> distinct()
set with just DISTINCT turned on
-
include_index
public static EnumSet<Quantify.QuantFlags> include_index()
set with just INCLUDE_INDEX turned on
-
-