Package one.util.streamex
Class PrefixOps.OfUnordLong.MyAtomicLong
- java.lang.Object
-
- java.lang.Number
-
- java.util.concurrent.atomic.AtomicLong
-
- one.util.streamex.PrefixOps.OfUnordLong.MyAtomicLong
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PrefixOps.OfUnordLong
private static final class PrefixOps.OfUnordLong.MyAtomicLong extends java.util.concurrent.atomic.AtomicLong
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
init
-
Constructor Summary
Constructors Modifier Constructor Description private
MyAtomicLong()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
initialize(long x)
On the very first call sets the value tox
-
Methods inherited from class java.util.concurrent.atomic.AtomicLong
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-