Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HybridSet Class

Implements an ISet that automatically changes from a list based implementation to a hashtable based implementation when the size reaches a certain threshold.

For a list of all members of this type, see HybridSet Members .

System.Object
   Set
      DictionarySet
         HybridSet
            ManagedSet

[Visual Basic]
<Serializable> _
Public Class HybridSet
    Inherits DictionarySet
[C#]
[Serializable]
public class HybridSet : DictionarySet

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This is good if you are unsure about whether you data-set will be tiny or huge.

Note    Because this uses a dual implementation, iteration order is not guaranteed!

Requirements

Namespace: Spring.Collections

Assembly: Spring.Core (in Spring.Core.dll)

See Also

HybridSet Members | Spring.Collections Namespace | ISet