Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ListSet Class

Implements a ISet based on a list.

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


[Visual Basic]
<Serializable> _
Public Class ListSet
    Inherits DictionarySet
public class ListSet : 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.


Performance is much better for very small lists than either HashedSet or SortedSet. However, performance degrades rapidly as the data-set gets bigger. Use a HybridSet instead if you are not sure your data-set will always remain very small. Iteration produces elements in the order they were added. However, element order is not guaranteed to be maintained by the various ISet mathematical operators.


Namespace: Spring.Collections

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

See Also

ListSet Members | Spring.Collections Namespace