Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PriorityQueue Constructor

Creates a PriorityQueue with the specified initial capacity that orders its elements according to their natural ordering (using IComparable).

[Visual Basic]
Public Overloads Sub New( _
   ByVal initialCapacity As Integer _
)
[C#]
PriorityQueue(
   int initialCapacity
);

Parameters

initialCapacity
the initial capacity for this priority queue.

Exceptions

Exception Type Condition
ArgumentException if initialCapacity is less than 1.

See Also

PriorityQueue Class | Spring.Collections Namespace | PriorityQueue Constructor Overload List