Counter Methods |
The Counter type exposes the following members.
Name | Description | |
---|---|---|
![]() | CompareTo |
Compares this counter to the specified counter. |
![]() | Increment |
Increments the counter by 1. |
![]() ![]() | MainTest |
Reads two command-line integers N and T; creates N counters;
increments T counters at random; and prints results. |
![]() | ToString |
Returns a string representation of this counter. (Overrides ObjectToString.) |