code: public static Resource order2Resource(Order order) {
          if (order == Order.SINGLE) {
              return CDK.SINGLEBOND;
          } else if (order == Order.DOUBLE) {
              return CDK.DOUBLEBOND;
          } else if (order == Order.TRIPLE) {
              return CDK.TRIPLEBOND;
          } else if (order == Order.QUADRUPLE) {
              return CDK.QUADRUPLEBOND;
          }
          return null;
      }
docs: Create the {@link Resource} matching the given {@link Order}.
  
  @param order bond order to return the matching {@link Resource} for.
  @return the matching {@link Resource}.