C# Class Sharpen.AtomicInteger

Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
AddAndGet ( int addval ) : int
AtomicInteger ( ) : System
AtomicInteger ( int val ) : System
CompareAndSet ( int expect, int update ) : bool
DecrementAndGet ( ) : int
Get ( ) : int
GetAndAdd ( int addval ) : int
GetAndSet ( int newValue ) : int
IncrementAndGet ( ) : int

Method Details

AddAndGet() public méthode

public AddAndGet ( int addval ) : int
addval int
Résultat int

AtomicInteger() public méthode

public AtomicInteger ( ) : System
Résultat System

AtomicInteger() public méthode

public AtomicInteger ( int val ) : System
val int
Résultat System

CompareAndSet() public méthode

public CompareAndSet ( int expect, int update ) : bool
expect int
update int
Résultat bool

DecrementAndGet() public méthode

public DecrementAndGet ( ) : int
Résultat int

Get() public méthode

public Get ( ) : int
Résultat int

GetAndAdd() public méthode

public GetAndAdd ( int addval ) : int
addval int
Résultat int

GetAndSet() public méthode

public GetAndSet ( int newValue ) : int
newValue int
Résultat int

IncrementAndGet() public méthode

public IncrementAndGet ( ) : int
Résultat int