fm.liveswitch.AtomicInteger Class Reference

Public Member Functions

 AtomicInteger ()
 
 AtomicInteger (int initialValue)
 
int compareAndSwap (int expected, int newValue)
 
int getValue ()
 
int add (int value)
 
int subtract (int value)
 
int increment ()
 
int decrement ()
 

Constructor & Destructor Documentation

◆ AtomicInteger() [1/2]

fm.liveswitch.AtomicInteger.AtomicInteger ( )

◆ AtomicInteger() [2/2]

fm.liveswitch.AtomicInteger.AtomicInteger ( int  initialValue)

Member Function Documentation

◆ add()

int fm.liveswitch.AtomicInteger.add ( int  value)

◆ compareAndSwap()

int fm.liveswitch.AtomicInteger.compareAndSwap ( int  expected,
int  newValue 
)

◆ decrement()

int fm.liveswitch.AtomicInteger.decrement ( )

◆ getValue()

int fm.liveswitch.AtomicInteger.getValue ( )

◆ increment()

int fm.liveswitch.AtomicInteger.increment ( )

◆ subtract()

int fm.liveswitch.AtomicInteger.subtract ( int  value)