Click or drag to resize

PairRawComparerTKey, TValue Class

Raw comparer for the PairTKey, TValue class.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IOPairRawComparerTKey, TValue

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public class PairRawComparer<TKey, TValue> : IRawComparer<Pair<TKey, TValue>>, 
	IComparer<Pair<TKey, TValue>>, IDeserializingRawComparer
where TKey : Object, IComparable<TKey>

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

The PairRawComparerTKey, TValue type exposes the following members.

Constructors
 NameDescription
Public methodPairRawComparerTKey, TValue Initializes a new instance of the PairRawComparerTKey, TValue class.
Public methodPairRawComparerTKey, TValue(IRawComparerTKey) Initializes a new instance of the PairRawComparerTKey, TValue class.
Top
Properties
 NameDescription
Public propertyUsesDeserialization Gets a value indicating whether the comparer uses deserialization.
Top
Methods
 NameDescription
Public methodCompare(PairTKey, TValue, PairTKey, TValue) Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Public methodCompare(Byte, Int32, Int32, Byte, Int32, Int32) Compares the binary representation of two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodComparePairTKey, TValue Compares the binary representation of two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Defined by RawComparerHelper)
Top
See Also