Comment on Hashing for the HomelessparentComments−jdunckOP13yYou won't believe this, but we actually have a soda fridge here that has a deque implementation on the door with a note that cold ones will be at the back.I'll provide a pic if demanded. ;)−MichaelAza13yThat, I need to see.−jdunckOP13yOK, I misremembered, it's a queue, not a deque. Still: http://imgur.com/a/Yujev#0Also kinda random since we don't use much Java here. I do like that people debugged it, though.−lann13yI've been meaning to cross out the "synchronized" there. It's unnecessary since Queues are already threadsafe.
Comments
You won't believe this, but we actually have a soda fridge here that has a deque implementation on the door with a note that cold ones will be at the back.
I'll provide a pic if demanded. ;)
That, I need to see.
OK, I misremembered, it's a queue, not a deque. Still: http://imgur.com/a/Yujev#0
Also kinda random since we don't use much Java here. I do like that people debugged it, though.
I've been meaning to cross out the "synchronized" there. It's unnecessary since Queues are already threadsafe.