code: public List getBondData(String code, String id1, String id2) throws Exception {
          String dkey = "";
          if (pSet.containsKey(("bond" + code + ";" + id1 + ";" + id2))) {
              dkey = "bond" + code + ";" + id1 + ";" + id2;
          } else if (pSet.containsKey(("bond" + code + ";" + id2 + ";" + id1))) {
              dkey = "bond" + code + ";" + id2 + ";" + id1;
          } /*
             * else { System.out.println("KEYError:Unknown distance key in pSet: "
             * + code + ";" + id2 + " ;" + id1+" take default bon length:" +
             * DEFAULT_BOND_LENGTH); return DEFAULT_BOND_LENGTH; }
             */
          //logger.debug("dkey = " + dkey);
          return (List) pSet.get(dkey);
      }
docs: Gets the bond parameter set.
  
  @param  id1            atom1 id
  @param  id2            atom2 id
  @return                The distance value from the force field parameter set
  @exception  Exception  Description of the Exception