SCJP 1.4<br />SCWCD (in progress)
SCJP 1.4<br />SCWCD (in progress)
SCJP 1.4<br />SCWCD (in progress)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Dun Dagda:
HashSet creates a set of key/value pairs.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Tom Griffith:
Isn't a value/hash code pairing essentially the same as the pairings found in maps?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss
You're confusing HashSet with HashMap.
SCJP 1.4<br />SCWCD (in progress)
Originally posted by Tom Griffith:
I don't know, I guess a hashcode is an indexer
...a unique key attached to each object in a collection
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
No, not unique - that would hardly be possible for Strings, for example.
Look! It's Leonardo da Vinci! And he brought a tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|