Package org.openscience.cdk.isomorphism
Enum Transform.Mode
- java.lang.Object
-
- java.lang.Enum<Transform.Mode>
-
- org.openscience.cdk.isomorphism.Transform.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<Transform.Mode>
- Enclosing class:
- Transform
public static enum Transform.Mode extends Enum<Transform.Mode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Transform.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static Transform.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
All
public static final Transform.Mode All
Run the transform at all places the query matches. A collection is returned.
-
Unique
public static final Transform.Mode Unique
Run the transform at all (unique) places the query matches.Mappings.uniqueAtoms()
-
Exclusive
public static final Transform.Mode Exclusive
Run the transform at all (exclusive) places the query matches. Note: A single result is returned or none.Mappings.exclusiveAtoms()
-
-
Method Detail
-
values
public static Transform.Mode[] 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 (Transform.Mode c : Transform.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Transform.Mode 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
-
-