2006-07-17 java.util.concurrent こんなパッケージが有ったのか。バイトでthread-safeなQueueを書いたのに。ConcurrentLinkedQueueを使えば一瞬。