Click or drag to resize
TransactionCompareTo Method
Compares two transactions by amount.

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

Parameters

that
Type: Algs4NetTransaction
that the other transaction

Return Value

Type: Int32
{a negative integer, zero, a positive integer}, depending on whether the amount of this transaction is {less than, equal to, or greater than} the amount of that transaction

Implements

IComparableTCompareTo(T)
See Also