Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
An implementation of IDictionary that is optimal (in terms of both size and speed) for very small sets of data but still works excellently with large sets of data.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public class LiteDictionary : IDictionary, 
	ICollection, IEnumerable

Remarks

This implementation is not thread-safe.

The LiteDictionary implementation switches at runtime between several different sub-implementations for storing the IDictionary of objects, described here:

  1. "empty dictionary" - a dictionary that contains no data;
  2. "single entry" - a reference directly to a single dictionary entry;
  3. "object[]" - a reference to an array of entries; the item limit for this implementation is determined by the THRESHOLD constant;
  4. "delegation" - for more than THRESHOLD items, a dictionary is created to delegate the dictionary management to; sub-classes can override the default delegation class Hashtable by overriding the factory method InstantiateDictionary()()()().

The LiteDictionary implementation supports the null key value.

Inheritance Hierarchy

System..::..Object
  Tangosol.Util..::..LiteDictionary

See Also