LingoFingerprinter extends AbstractFingerprinter implements IFingerprinter { @Override public ICountFingerprint getCountFingerprint(IAtomContainer container) throws CDKException { return FingerprinterTool.makeCountFingerprint(getRawFingerprint(container)); } LingoFingerprinter();  LingoFingerprinter(int n); @Override IBitFingerprint getBitFingerprint(IAtomContainer iAtomContainer); @Override Map<String, Integer> getRawFingerprint(IAtomContainer atomContainer); @Override int getSize(); @Override ICountFingerprint getCountFingerprint(IAtomContainer container);  }
@Test @Override public void testGetCountFingerprint() throws Exception { LingoFingerprinter fpr = new LingoFingerprinter(4); SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance()); IAtomContainer mol = sp.parseSmiles("Oc1ccccc1"); ICountFingerprint fp = fpr.getCountFingerprint(mol); assertThat(fp.getCountForHash("cccc".hashCode()), is(2)); assertThat(fp.getCountForHash("Oc0c".hashCode()), is(1)); assertThat(fp.getCountForHash("c0cc".hashCode()), is(1)); assertThat(fp.getCountForHash("0ccc".hashCode()), is(1)); assertThat(fp.getCountForHash("ccc0".hashCode()), is(1)); }