class CDKToBeam {

    Edge toBeamEdge(IBond b, Map<IAtom, Integer> indices) throws CDKException {

        checkArgument(b.getAtomCount() == 2, "Invalid number of atoms on bond");

        int u = indices.get(b.getBegin());
        int v = indices.get(b.getEnd());

        return toBeamEdgeLabel(b, this.flavour).edge(u, v);
    }

      CDKToBeam();
      CDKToBeam(int flavour);

}