Click or drag to resize
CounterCompareTo Method
Compares this counter to the specified counter.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int CompareTo(
	Counter that
)

Parameters

that
Type: Algs4NetCounter
that the other counter

Return Value

Type: Int32
0 if the value of this counter equals the value of that counter; a negative integer if the value of this counter is less than the value of that counter; and a positive integer if the value of this counter is greater than the value of that counter

Implements

IComparableTCompareTo(T)
See Also