com.actelion.research.chem.descriptor.DescriptorHandlerStandardFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openchemlib Show documentation
Show all versions of openchemlib Show documentation
Open Source Chemistry Library
package com.actelion.research.chem.descriptor;
import com.actelion.research.chem.StereoMolecule;
import com.actelion.research.chem.phesa.DescriptorHandlerShape;
import com.actelion.research.chem.phesa.DescriptorHandlerShapeOneConf;
public class DescriptorHandlerStandardFactory extends DescriptorHandlerStandard2DFactory {
private static DescriptorHandlerStandardFactory sFactory;
public static DescriptorHandlerFactory getFactory() {
if (sFactory == null) {
synchronized(DescriptorHandlerStandardFactory.class) {
if (sFactory == null)
sFactory = new DescriptorHandlerStandardFactory();
}
}
return sFactory;
}
@SuppressWarnings({ "unchecked", "rawtypes" })
public DescriptorHandler getDefaultDescriptorHandler(String shortName) {
DescriptorHandler