code: public static <T> int binarySearch(final T[] a, final T key, final Comparator<? super T> cmp) {
          return Array.binarySearch(a, key, cmp);
      }
docs: {@link Arrays#binarySearch(Object[], Object, Comparator)}
  
  @param a
  @param key
  @param cmp
  @return