Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SortedSet Class

Implements an ISet based on a sorted tree.

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


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


This gives good performance for operations on very large data-sets, though not as good - asymptotically - as a HashedSet. However, iteration occurs in order.

Elements that you put into this type of collection must implement IComparable, and they must actually be comparable. You can't mix String and Int32 values, for example.

This ISet implementation does not support elements that are a null reference (Nothing in Visual Basic).


Namespace: Spring.Collections

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

See Also

SortedSet Members | Spring.Collections Namespace | ISet