Class KeyValuePairComparer<K, V>
Default comparer for dictionary entries in a sorted dictionary. Entry comparisons only look at keys and uses an externally defined comparer for that.
Inheritance
System.Object
KeyValuePairComparer<K, V>
Assembly: DistributedLucene.Net.dll
Syntax
public class KeyValuePairComparer<K, V> : Collections.Generic.IComparer<KeyValuePair<K, V>>
Type Parameters
Name | Description |
---|---|
K | |
V |
Constructors
Name | Description |
---|---|
KeyValuePairComparer(Collections.Generic.IComparer<K>) | Create an entry comparer for a item comparer of the keys |
Methods
Name | Description |
---|---|
Compare(KeyValuePair<K, V>, KeyValuePair<K, V>) | Compare two entries |