Last active
October 7, 2020 11:05
-
-
Save marco-brandizi/4cbbb54746e5200763886cdbfa4a1466 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var o = new Foo ("one"); | |
map.put ( o, o ) | |
... | |
var o1 = new Foo ( "one" ) | |
... | |
var o2 = map.get ( o1 ) // fetches o if .equals()/.hashCode() tells that they're equal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment