Struct KeyValuePair<K, V>
An entry in a dictionary from K to V.
Assembly: DistributedLucene.Net.dll
Syntax
public struct KeyValuePair<K, V> : IEquatable<KeyValuePair<K, V>>, IShowable, IFormattable
Type Parameters
Name | Description |
---|---|
K | |
V |
Constructors
Name | Description |
---|---|
KeyValuePair(K) | Create an entry with a specified key. The value will be the default value of type .
|
KeyValuePair(K, V) | Create an entry with specified key and value |
Fields
Name | Description |
---|---|
Key | The key field of the entry |
Value | The value field of the entry |
Methods
Name | Description |
---|---|
Equals(KeyValuePair<K, V>) | |
Equals(Object) | Check equality of entries. |
GetHashCode() | Get the hash code of the pair. |
Show(Text.StringBuilder, ref Int32, IFormatProvider) | |
ToString() | Pretty print an entry |
ToString(String, IFormatProvider) |
Operators
Name | Description |
---|---|
Equality(KeyValuePair<K, V>, KeyValuePair<K, V>) | |
Inequality(KeyValuePair<K, V>, KeyValuePair<K, V>) |