Summer.Batch.Common.Util.OrderComparer< T > Class Template Reference

Comparer based on Order. More...

Inheritance diagram for Summer.Batch.Common.Util.OrderComparer< T >:

Public Member Functions

int Compare (T x, T y)
 Compares two instances of T and returns a value indicating whether one is less than, equal to, or greater than the other. More...
 

Detailed Description

Comparer based on Order.

Template Parameters
T The type of objects to compare.

Member Function Documentation

int Summer.Batch.Common.Util.OrderComparer< T >.Compare ( x,
y 
)

Compares two instances of T and returns a value indicating whether one is less than, equal to, or greater than the other.

Returns
A signed integer that indicates the relative values of x and y . If less that zero x is less than y . If zero x equals y . If greater than zero x is greater than y .
Parameters
xThe first object to compare.
yThe second object to compare.

The documentation for this class was generated from the following file:
  • Summer.Batch.Common/Util/OrderComparer.cs