Class CharArrayMap
Inheritance
Inherited Members
Namespace: Lucene.Net.Analysis.Util
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public static class CharArrayMap
Methods
| Improve this Doc View SourceCopy<TValue>(LuceneVersion, IDictionary<String, TValue>)
Returns a copy of the given map as a CharArrayMap<TValue>. If the given map is a CharArrayMap<TValue> the ignoreCase property will be preserved.
Note: If you intend to create a copy of another CharArrayMap<TValue> where
the Lucene.
Declaration
public static CharArrayMap<TValue> Copy<TValue>(LuceneVersion matchVersion, IDictionary<string, TValue> map)
Parameters
Type | Name | Description |
---|---|---|
Lucene. |
matchVersion | compatibility match version see Version note above for details. This argument will be ignored if the given map is a CharArrayMap<TValue>. |
System. |
map | a map to copy |
Returns
Type | Description |
---|---|
Char |
a copy of the given map as a CharArrayMap<TValue>. If the given map
is a CharArrayMap<TValue> the ignoreCase property as well as the
|
Type Parameters
Name | Description |
---|---|
TValue |
UnmodifiableMap<TValue>(CharArrayMap<TValue>)
Returns an unmodifiable CharArrayMap<TValue>. This allows to provide unmodifiable views of internal map for "read-only" use.
Declaration
public static CharArrayMap<TValue> UnmodifiableMap<TValue>(CharArrayMap<TValue> map)
Parameters
Type | Name | Description |
---|---|---|
Char |
map | a map for which the unmodifiable map is returned. |
Returns
Type | Description |
---|---|
Char |
an new unmodifiable CharArrayMap<TValue>. |
Type Parameters
Name | Description |
---|---|
TValue |
Exceptions
Type | Condition |
---|---|
System. |
if the given map is |