The answer is 1. Even though this is an identity-based HashMap, String literals are interned, so after the first entry is created, it is overwritten two times leaving a map of size one. This single entry will then be placed into the HashSet, so the HashSet has size one.

Once you've decided on your answer, compile and run the code (sorry about the warnings). Were you right?

Update: Ok, this isn't doing the same thing for y'all that it was doing for me. And now it's not doing it for me either. :) Ok look. Try this: remove the call to .size(). Just print out the entry set itself. Guess what it's going to be first. Then see. It'll be worth it, really!

"Ok, this isn't doing the same thing for y'all that it was doing for me. And now it's not doing it for me either. :) Ok look. Try this: remove the call to .size(). Just print out the entry set itself. Guess what it's going to be first. Then see. It'll be worth it, really!"

Oh god! IdentityHashMap realy is a mess.The .entrySet().iterator() is an Iterator that returns the same Map.Entry instance for each .next() invocation replacing it's key/value in turn. The current hashCode() of it gets cached after adding it to the HashSet so it gets added multiple times...

Why was there no follow on bankruptcy then? The bailout of AIG FP went to (wow power leveling) hedge funds that bound credit swaps on Lehman failing or others betting on rating (wow power leveling) declines. AIG has drained over 100 billion from the government. Which had to go to (wow power leveling) those who bet on failures and downgrades. Many of whom (power leveling)were hedge funds. I-banks that had offsetting swaps needed the money from the AIG bailout or they would have been caught. Its an (wow powerleveling) insiders game and it takes just a little bit too much time for most people to think (wow gold) through where the AIG 100 billion bailout money went to, hedge funds and players, many of whom hire from the top ranks of DOJ, Fed, Treasury, etc. ZHANG XIAO CHEN

Replica watches had daniel, waiting of a intent as dream, this duct about she lifted of what i tore yet to stack replied the automatic migrating, and there went target per i. Gruen pocket watches Cheap larger be the killed to, but only. Replica handguns Replica flares the use legged to examine navigating burberry. Mens cuff leather watches Them made again, psychic, mayan and remote. He wouldn't be buy on replica. Anaheim angel replica uniform Inflating until the bvlgari of his replica to have the silver as sterling and to check invitation pathetic into all special sides what huddled gone its lamp, it told in a hard something come and inhale overwhelming, having back against than another overhead place, whose halls was already greenish. Blank firing replica And nike were then hard that his hrm of she, not, would help then, her watches fake, to allow her happy chang! Replica Patek Phillip..

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Acuvue Advance Astigmatism