Summer.Batch.Common.Collections.IQueue< T > Interface Template Reference
A collection designed for holding elements prior to processing. The order in which elements are retrieved depends on the implementation. More...
Inheritance diagram for Summer.Batch.Common.Collections.IQueue< T >:
Public Member Functions | |
T | Poll () |
Removes the head of the queue and returns it. More... | |
T | Peek () |
Returns the head of the queue without removing it. More... | |
Detailed Description
A collection designed for holding elements prior to processing. The order in which elements are retrieved depends on the implementation.
- Template Parameters
-
T
Member Function Documentation
T Summer.Batch.Common.Collections.IQueue< T >.Peek | ( | ) |
Returns the head of the queue without removing it.
- Returns
- the head of the queue, or default(T ) if the queue is empty
Implemented in Summer.Batch.Common.Collections.AbstractPriorityQueue< T >, and Summer.Batch.Common.Collections.PriorityBlockingQueue< T >.
T Summer.Batch.Common.Collections.IQueue< T >.Poll | ( | ) |
Removes the head of the queue and returns it.
- Returns
- the head of the queue, or default(T ) if the queue is empty
Implemented in Summer.Batch.Common.Collections.AbstractPriorityQueue< T >, Summer.Batch.Common.Collections.PriorityQueue< T >, and Summer.Batch.Common.Collections.PriorityBlockingQueue< T >.
The documentation for this interface was generated from the following file:
- Summer.Batch.Common/Collections/IQueue.cs