Table of Contents

Class SunamoComparer.Integer64

Namespace
SunamoCompare
Assembly
SunamoCompare.dll

Comparer for long (Int64) values.

public class SunamoComparer.Integer64 : ISunamoComparer<long>
Inheritance
SunamoComparer.Integer64
Implements
Inherited Members
Extension Methods

Fields

Instance

Singleton instance of the Integer64 comparer.

public static SunamoComparer.Integer64 Instance

Field Value

SunamoComparer.Integer64

Methods

Asc(long, long)

Compares two long values for ascending order sorting.

public int Asc(long firstValue, long secondValue)

Parameters

firstValue long

The first value to compare.

secondValue long

The second value to compare.

Returns

int

A comparison result for ascending order.

Desc(long, long)

Compares two long values for descending order sorting.

public int Desc(long firstValue, long secondValue)

Parameters

firstValue long

The first value to compare.

secondValue long

The second value to compare.

Returns

int

A comparison result for descending order.