Package org.openscience.cdk.sgroup
Enum SgroupKey
- java.lang.Object
-
- java.lang.Enum<SgroupKey>
-
- org.openscience.cdk.sgroup.SgroupKey
-
- All Implemented Interfaces:
Serializable
,Comparable<SgroupKey>
public enum SgroupKey extends Enum<SgroupKey>
Keys for indexing common Sgroup attributes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CtabAbbreviationAttachPoint
CtabAbbreviationVector
CtabBracket
CtabBracketStyle
CtabClass
CtabComponentNumber
CtabConnectivity
CtabCorrespondence
CtabDisplayInfo
CtabExpansion
CtabLabel
Not to be confused with the subscript key this is Sgroup label not the bracket label (e.g.CtabParentAtomList
CtabSubScript
CtabSubType
CtabType
Data
DataDisplayInformation
DataFieldFormat
DataFieldName
DataFieldUnits
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SgroupKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static SgroupKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CtabType
public static final SgroupKey CtabType
-
CtabSubType
public static final SgroupKey CtabSubType
-
CtabLabel
public static final SgroupKey CtabLabel
Not to be confused with the subscript key this is Sgroup label not the bracket label (e.g. 'n').
-
CtabExpansion
public static final SgroupKey CtabExpansion
-
CtabCorrespondence
public static final SgroupKey CtabCorrespondence
-
CtabAbbreviationVector
public static final SgroupKey CtabAbbreviationVector
-
CtabAbbreviationAttachPoint
public static final SgroupKey CtabAbbreviationAttachPoint
-
CtabDisplayInfo
public static final SgroupKey CtabDisplayInfo
-
CtabSubScript
public static final SgroupKey CtabSubScript
-
CtabConnectivity
public static final SgroupKey CtabConnectivity
-
CtabBracket
public static final SgroupKey CtabBracket
-
CtabBracketStyle
public static final SgroupKey CtabBracketStyle
-
CtabClass
public static final SgroupKey CtabClass
-
CtabParentAtomList
public static final SgroupKey CtabParentAtomList
-
CtabComponentNumber
public static final SgroupKey CtabComponentNumber
-
DataFieldName
public static final SgroupKey DataFieldName
-
DataFieldFormat
public static final SgroupKey DataFieldFormat
-
DataFieldUnits
public static final SgroupKey DataFieldUnits
-
DataDisplayInformation
public static final SgroupKey DataDisplayInformation
-
Data
public static final SgroupKey Data
-
-
Method Detail
-
values
public static SgroupKey[] 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 (SgroupKey c : SgroupKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SgroupKey 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
-
-