Created
September 30, 2013 20:34
-
-
Save messa/6769863 to your computer and use it in GitHub Desktop.
To, že mají dva řetězce stejný hash neznamená, že jsou stejné...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat Demo.java | |
class Demo { | |
public static void main(String args[]) { | |
System.out.println("Aa".hashCode()); | |
System.out.println("BB".hashCode()); | |
} | |
} | |
$ javac Demo.java | |
$ java Demo | |
2112 | |
2112 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment