Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractQueue Class

This class provides skeletal implementations of some IQueue operations.

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

System.Object
   AbstractQueue
      PriorityQueue

[Visual Basic]
<Serializable> _
Public MustInherit Class AbstractQueue
    Implements IQueue, ICollection, IEnumerable
[C#]
[Serializable]
public abstract class AbstractQueue : IQueue, ICollection, IEnumerable

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

The implementations in this class are appropriate when the base implementation does not allow elements. The methods Add, Remove, and Element are based on the Offer, Poll, and Peek methods respectively but throw exceptions instead of indicating failure via or returns.

An IQueue implementation that extends this class must minimally define a method Offer which does not permit the insertion of elements, along with methods Poll, and Peek. Typically, additional methods will be overridden as well. If these requirements cannot be met, consider instead subclassing CollectionBase}.

Requirements

Namespace: Spring.Collections

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

See Also

AbstractQueue Members | Spring.Collections Namespace