Package chemaxon.checkers.util
Class AtomLabels
java.lang.Object
chemaxon.checkers.util.AtomLabels
The atom labels storage class. Parsing and reporting the atom labels is
possible
- Since:
- 16.9.26
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an atom label to the atom labelsboolean
Gets whether the atom labels contain the specified atom labelboolean
getList()
Gets the list of atom labelsint
hashCode()
static AtomLabels
Parses the list of atom labels from a string.toString()
-
Constructor Details
-
AtomLabels
public AtomLabels()Initializes the atom labels
-
-
Method Details
-
parse
Parses the list of atom labels from a string.- Parameters:
representation
- the string representation of the atom labels, a list of atom labels delimited by comma character- Returns:
- the atom labels object if valid, null otherwise
-
add
Adds an atom label to the atom labels- Parameters:
atomLabel
- the atom label to be added
-
getList
Gets the list of atom labels- Returns:
- the list of atom labels
-
contains
Gets whether the atom labels contain the specified atom label- Parameters:
atomLabel
- the target atom label- Returns:
- true if the atom labels contain the specified atom label
-
toString
-
equals
-
hashCode
public int hashCode()
-