Метод | Описание | |
---|---|---|
Counter ( ) : System |
Creates a new Counter with an initial value of zero.
|
|
Counter ( int startingValue ) : System |
Creates a new Counter with an initial value of startingValue.
|
|
Decrement ( ) : void |
Atomically decrements the Counter by one.
|
|
Increment ( ) : void |
Atomically increments the Counter by one.
|
|
operator ( ) : |
Atomically increments counter by one.
|
Метод | Описание | |
---|---|---|
GetIndex ( ) : int |
public Counter ( int startingValue ) : System | ||
startingValue | int | The initial value for the |
Результат | System |