Hacker News new | ask | show | jobs
by jdunck 4760 days ago
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. ;)

1 comments

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.