org.testng.internal.thread
Interface IAtomicInteger

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AtomicIntegerAdapter

public interface IAtomicInteger
extends java.io.Serializable

This class/interface


Method Summary
 int get()
          Get the current value.
 int incrementAndGet()
          Atomically increment by one the current value.
 

Method Detail

get

int get()
Get the current value.

Returns:
the current value

incrementAndGet

int incrementAndGet()
Atomically increment by one the current value.

Returns:
the updated value


Copyright © 2010. All Rights Reserved.