SystemEX  Lacking
Additional generic collection types missing in .net
SystemEx.Algorythmen.Greater< T > Class Template Referencesealed

Provides a boolean comparison that determines whether a is strictly larger than b . More...

Inheritance diagram for SystemEx.Algorythmen.Greater< T >:
Collaboration diagram for SystemEx.Algorythmen.Greater< T >:

Public Member Functions

bool Compare (T a, T b)
 Returns true if a is strictly larger than b ; otherwise false.

Detailed Description

Provides a boolean comparison that determines whether a is strictly larger than b .

Template Parameters
TThe type of values being compared.

Member Function Documentation

◆ Compare()

bool SystemEx.Algorythmen.Greater< T >.Compare ( T a,
T b )

Returns true if a is strictly larger than b ; otherwise false.

Parameters
aThe first value to compare.
bThe second value to compare.
Returns
true if a is larger than b ; otherwise false.

Implements SystemEx.Algorythmen.ISimpleCompare< T >.

52 {
53 return Comparer<T>.Default.Compare(a, b) > 0;
54 }

The documentation for this class was generated from the following file:
  • Comparer.cs