code: public static Order resource2Order(Resource rdfOrder) {
          if (rdfOrder.equals(CDK.SINGLEBOND)) {
              return Order.SINGLE;
          } else if (rdfOrder.equals(CDK.DOUBLEBOND)) {
              return Order.DOUBLE;
          } else if (rdfOrder.equals(CDK.TRIPLEBOND)) {
              return Order.TRIPLE;
          } else if (rdfOrder.equals(CDK.QUADRUPLEBOND)) {
              return Order.QUADRUPLE;
          }
          return null;
      }
docs: Converts a {@link Resource} object into the matching {@link Order}.
  
  @param rdfOrder Resource for which the matching {@link Order} should be given.
  @return the matching {@link Order}.