1
0
Fork 0

using method available from currently used library

This commit is contained in:
Claudio Atzori 2020-03-24 11:17:44 +01:00
parent 8b0ba3d76a
commit 1e869e7bed
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ public class SparkCreateDedupTest {
final HashFunction hashFunction = Hashing.murmur3_128(); final HashFunction hashFunction = Hashing.murmur3_128();
System.out.println( s1.hashCode()); System.out.println( s1.hashCode());
System.out.println(hashFunction.hashUnencodedChars(s1).asLong()); System.out.println(hashFunction.hashString(s1).asLong());
System.out.println( s2.hashCode()); System.out.println( s2.hashCode());
System.out.println(hashFunction.hashUnencodedChars(s2).asLong()); System.out.println(hashFunction.hashString(s2).asLong());
} }