Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PriorityQueue Constructor

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

Overload List

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

public PriorityQueue()

Creates a PriorityQueue containing the elements in the specified collection. The priority queue has an initial capacity of 110% of the size of the specified collection or 1 if the collection is empty. If the specified collection is an instance of a PriorityQueue, the priority queue will be sorted according to the same comparator, or according to its elements' natural order if the collection is sorted according to its elements' natural order. Otherwise, the priority queue is ordered according to its elements' natural order.

public PriorityQueue(ICollection)

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

public PriorityQueue(int)

Creates a PriorityQueue with the specified initial capacity that orders its elements according to the specified comparator.

public PriorityQueue(int,IComparer)

Reconstitute the PriorityQueue instance from a stream (that is, deserialize it).

protected PriorityQueue(SerializationInfo,StreamingContext)

See Also

PriorityQueue Class | Spring.Collections Namespace