Class CharArrayDictionary
Inherited Members
Namespace: Lucene.Net.Analysis.Util
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public static class CharArrayDictionary
Methods
Copy<TValue>(LuceneVersion, IDictionary<string, TValue>)
Returns a copy of the given dictionary as a CharArrayDictionary<TValue>. If the given dictionary is a CharArrayDictionary<TValue> the ignoreCase property will be preserved.
Note: If you intend to create a copy of another CharArrayDictionary<TValue> where the Lucene.Net.Util.LuceneVersion of the source dictionary differs from its copy CharArrayDictionary(LuceneVersion, IDictionary<string, TValue>, bool) should be used instead. The Copy<TValue>(LuceneVersion, IDictionary<string, TValue>) will preserve the Lucene.Net.Util.LuceneVersion of the source dictionary if it is an instance of CharArrayDictionary<TValue>.
Declaration
public static CharArrayDictionary<TValue> Copy<TValue>(LuceneVersion matchVersion, IDictionary<string, TValue> dictionary)
Parameters
| Type | Name | Description |
|---|---|---|
| LuceneVersion | matchVersion | compatibility match version see Version note above for details. This argument will be ignored if the given dictionary is a CharArrayDictionary<TValue>. |
| IDictionary<string, TValue> | dictionary | a dictionary to copy |
Returns
| Type | Description |
|---|---|
| CharArrayDictionary<TValue> | a copy of the given dictionary as a CharArrayDictionary<TValue>. If the given dictionary
is a CharArrayDictionary<TValue> the ignoreCase property as well as the
|
Type Parameters
| Name | Description |
|---|---|
| TValue |