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 >:
Summer.Batch.Common.Collections.AbstractPriorityQueue< T > Summer.Batch.Common.Collections.PriorityBlockingQueue< T > Summer.Batch.Common.Collections.PriorityQueue< T >

Public Member Functions

Poll ()
 Removes the head of the queue and returns it. More...
 
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

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 >.

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