Class TAtomicReference<V>
java.lang.Object
org.teavm.classlib.java.util.concurrent.atomic.TAtomicReference<V>
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal V
accumulateAndGet
(V x, BinaryOperator<V> accumulatorFunction) final V
compareAndExchange
(V expectedValue, V newValue) final boolean
compareAndSet
(V expect, V update) final V
get()
final V
final V
getAndAccumulate
(V x, BinaryOperator<V> accumulatorFunction) final V
final V
getAndUpdate
(UnaryOperator<V> updateFunction) final V
final V
getPlain()
final void
final void
final void
final void
final void
setRelease
(V value) toString()
final V
updateAndGet
(UnaryOperator<V> updateFunction) final boolean
weakCompareAndSet
(V expect, V update)
-
Constructor Details
-
TAtomicReference
public TAtomicReference() -
TAtomicReference
-
-
Method Details