Hacker News new | ask | show | jobs
by MichaelAza 4755 days ago
That, I need to see.
1 comments

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.