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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds an atom label to the atom labelsbooleanGets whether the atom labels contain the specified atom labelbooleangetList()Gets the list of atom labelsinthashCode()static AtomLabelsParses the list of atom labels from a string.toString()
- 
Constructor Details- 
AtomLabelspublic AtomLabels()Initializes the atom labels
 
- 
- 
Method Details- 
parseParses 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
 
- 
addAdds an atom label to the atom labels- Parameters:
- atomLabel- the atom label to be added
 
- 
getListGets the list of atom labels- Returns:
- the list of atom labels
 
- 
containsGets 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
- 
hashCodepublic int hashCode()
 
-