Skip to content

T_CodeJam_Collections_ILazyDictionary_2

andrewvk edited this page Mar 30, 2016 · 14 revisions

ILazyDictionary(TKey, TValue) Interface

[This is preliminary documentation and is subject to change.]

Dictionary with lazy values initialization.

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[PublicAPIAttribute]
public interface ILazyDictionary<in TKey, out TValue>

VB

<PublicAPIAttribute>
Public Interface ILazyDictionary(Of In TKey, Out TValue)

F#

[<PublicAPIAttribute>]
type ILazyDictionary<'TKey, 'TValue> =  interface end

Type Parameters

 

TKey
Type of key
TValue
Type of value
  The ILazyDictionary(TKey, TValue) type exposes the following members.

Methods

 

Name Description
Public method Clear Clears all created values
Public method Get Returns existing value associated to a key, or creates new.
  Back to Top

See Also

Reference

CodeJam.Collections Namespace

Clone this wiki locally