AtomicBitSet implementation for java

前端 未结 2 483
鱼传尺愫
鱼传尺愫 2020-12-16 11:46

The standard api does not include an AtomicBitSet implementation. I could roll my own on top of AtomicIntegerArray, but would prefer not too.

Is anyone aware of an e

2条回答
  •  忘掉有多难
    2020-12-16 12:35

    Look at http://www.javamex.com/tutorials/synchronization_concurrency_7_atomic_integer_long.shtml

    Not exactly using BitSet, but AtomicInteger.

提交回复
热议问题