code: @Override
      public IBitFingerprint getBitFingerprint(IAtomContainer atomContainer) throws CDKException {
  
          int bitsetLength = PATTERNS.length;
          BitSet fingerPrint = new BitSet(bitsetLength);
  
          SmartsPattern.prepare(atomContainer);
          for (int i = 0; i < PATTERNS.length; i++) {
              if (PATTERNS[i].matches(atomContainer))
                  fingerPrint.set(i, true);
          }
          return new BitSetFingerprint(fingerPrint);
      }
docs: {@inheritDoc}