code: public static IBond.Order getMaximumBondOrder(IBond firstBond, IBond secondBond) {
          if (firstBond == null || secondBond == null)
              throw new IllegalArgumentException("null instance of IBond provided");
          return getMaximumBondOrder(firstBond.getOrder(), secondBond.getOrder());
      }
docs: Returns the maximum bond order for the two bonds.
  
  @param  firstBond  first bond to compare
  @param  secondBond second bond to compare
  @return            The maximum bond order found