public static Integer distance ( String h1 , String h2 ) { HammingDistance distance = new HammingDistance ( ) ; return distance . apply ( h1 , h2 ) ; }
Calculate the Hamming distance between two hashes