code: public static double jaccardIndex(Vector a, Vector b) {
          return jaccardIndex(Vectors.asDouble(a), Vectors.asDouble(b));
      }
docs: Computes the <a href="http://en.wikipedia.org/wiki/Jaccard_index">Jaccard
  index</a> comparing the similarity both {@code Vector}s when viewed as
  sets of samples.