-
Notifications
You must be signed in to change notification settings - Fork 36
T_CodeJam_Threading_ConcurrentLazyDictionary_2
andrewvk edited this page Mar 24, 2016
·
15 revisions
[This is preliminary documentation and is subject to change.]
Dictionary with lazy values initialization.
System.Object
CodeJam.Threading.ConcurrentLazyDictionary(TKey, TValue)
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class ConcurrentLazyDictionary<TKey, TValue> : ILazyDictionary<TKey, TValue>
VB
Public Class ConcurrentLazyDictionary(Of TKey, TValue)
Implements ILazyDictionary(Of TKey, TValue)
F#
type ConcurrentLazyDictionary<'TKey, 'TValue> =
class
interface ILazyDictionary<'TKey, 'TValue>
end
- TKey
- TValue
Name | Description | |
---|---|---|
![]() |
ConcurrentLazyDictionary(TKey, TValue)(Func(TKey, TValue)) | Initiailze instance. |
![]() |
ConcurrentLazyDictionary(TKey, TValue)(Func(TKey, TValue), IEqualityComparer(TKey)) | Initialize instance. |
Name | Description | |
---|---|---|
![]() |
Clear | Clears all created values |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
Get | Returns existing value associated to a key, or creates new. |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Thread safe.