Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class CharArrayDictionary

    Inheritance
    object
    CharArrayDictionary
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 matchVersion will be of the given dictionary will be preserved.

    Type Parameters
    Name Description
    TValue
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.