Show / Hide Table of Contents

    Interface ICreateOrUpdateValue<TKey, TValue>

    An interface to provide conditional or custom creation or update logic to a concurrent dictionary.

    Inherited Members
    ICreateValue<TKey, TValue>.CreateValue(TKey, TValue)
    IUpdateValue<TKey, TValue>.UpdateValue(TKey, TValue)
    Namespace: Lucene.Net.Support
    Assembly: Lucene.Net.dll
    Syntax
    public interface ICreateOrUpdateValue<TKey, TValue> : ICreateValue<TKey, TValue>, IUpdateValue<TKey, TValue>
    Type Parameters
    Name Description
    TKey
    TValue
    Remarks

    Generally implemented as a struct and passed by ref to save stack space and to retrieve the values that where inserted or updated.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)