@Override public IDoubleBondStereochemistry map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { return (IDoubleBondStereochemistry) super.map(atoms, bonds); }
@Override public ITetrahedralChirality map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { return (ITetrahedralChirality) super.map(atoms, bonds); }
@Override public ITetrahedralChirality map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { return (ITetrahedralChirality) super.map(atoms, bonds); }
@Override public ITetrahedralChirality map(Map<IChemObject, IChemObject> chemobjs) { return (ITetrahedralChirality) super.map(chemobjs); }
@Override public IDoubleBondStereochemistry map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { return (IDoubleBondStereochemistry) super.map(atoms, bonds); }
@Override public ITetrahedralChirality map(Map<IChemObject, IChemObject> chemobjs) { return (ITetrahedralChirality) super.map(chemobjs); }
/** * {@inheritDoc} */ @Override public IStereoElement<F,C> map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { if (atoms == null) throw new IllegalArgumentException("Atom map should be non-null"); if (bonds == null) throw new IllegalArgumentException("Bond map should be non-null"); Map<IChemObject,IChemObject> map = new HashMap<>(atoms.size() + bonds.size()); map.putAll(atoms); map.putAll(bonds); return map(map); }
/** * {@inheritDoc} */ @Override public IStereoElement<F,C> map(Map<IAtom, IAtom> atoms, Map<IBond, IBond> bonds) { if (atoms == null) throw new IllegalArgumentException("Atom map should be non-null"); if (bonds == null) throw new IllegalArgumentException("Bond map should be non-null"); Map<IChemObject,IChemObject> map = new HashMap<>(atoms.size() + bonds.size()); map.putAll(atoms); map.putAll(bonds); return map(map); }