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

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

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

Public Member Functions

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

Detailed Description

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

Template Parameters
TThe type of values being compared.

Member Function Documentation

◆ Compare()

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

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

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

Implements SystemEx.Algorythmen.ISimpleCompare< T >.

27 {
28 return Comparer<T>.Default.Compare(a, b) < 0;
29 }

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