Package chemaxon.pharmacophore
Class PSymbols
java.lang.Object
chemaxon.pharmacophore.PSymbols
Class storing and sorting pharmacophore symbols.
- Since:
- JChem 2.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PSymbols
Constructor. Sorts and sets the symbols.- Parameters:
psymbols
- is the symbol array
-
PSymbols
Constructor. Sorts and sets the symbols.- Parameters:
psymbols
- is the symbol collection
-
-
Method Details
-
getSymbolCount
public int getSymbolCount()returns the number of symbols- Returns:
- the number of symbols
-
getSymbol
Gets the symbol at the given index.- Parameters:
i
- is the symbol index- Returns:
- the symbol string
- Throws:
IllegalArgumentException
- if the symbol index is out-of-range
-
getIndex
Gets the index associated of the specified symbol.- Parameters:
symbol
- pharmacophore property (feature) symbol- Returns:
- the index of the feature
- Throws:
IllegalArgumentException
- if the symbol is not found
-
toString
-