Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class CharArrayMap

    Inheritance
    System.Object
    CharArrayMap
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Analysis.Util
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public static class CharArrayMap

    Methods

    | Improve this Doc View Source

    Copy<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.Net.Util.LuceneVersion of the source map differs from its copy CharArrayMap(LuceneVersion, IDictionary<String, TValue>, Boolean) should be used instead. The Copy<TValue>(LuceneVersion, IDictionary<String, TValue>) will preserve the Lucene.Net.Util.LuceneVersion of the source map if it is an instance of CharArrayMap<TValue>.

    Declaration
    public static CharArrayMap<TValue> Copy<TValue>(LuceneVersion matchVersion, IDictionary<string, TValue> map)
    Parameters
    Type Name Description
    Lucene.Net.Util.LuceneVersion matchVersion

    compatibility match version see Version note above for details. This argument will be ignored if the given map is a CharArrayMap<TValue>.

    System.Collections.Generic.IDictionary<System.String, TValue> map

    a map to copy

    Returns
    Type Description
    CharArrayMap<TValue>

    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 matchVersion will be of the given map will be preserved.

    Type Parameters
    Name Description
    TValue
    | Improve this Doc View Source

    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
    CharArrayMap<TValue> map

    a map for which the unmodifiable map is returned.

    Returns
    Type Description
    CharArrayMap<TValue>

    an new unmodifiable CharArrayMap<TValue>.

    Type Parameters
    Name Description
    TValue
    Exceptions
    Type Condition
    System.ArgumentException

    if the given map is null.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.