Class StreamingEventQueue<T>
Represents a Queue of events which are streamed from an instance of a IJitEventGenerator for use by an event based parser.
Implements
IEventQueue<T>
Inherited Members
Namespace: VDS.RDF.Parsing.Events
Assembly: dotNetRdf.dll
Syntax
public class StreamingEventQueue<T> : EventQueue<T>, IEventQueue<T> where T : IEvent
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Edit this page View SourceStreamingEventQueue(IJitEventGenerator<T>)
Creates a new Streaming Event Queue.
Declaration
public StreamingEventQueue(IJitEventGenerator<T> generator)
Parameters
Type | Name | Description |
---|---|---|
IJitEventGenerator<T> | generator | Event Generator. |
Properties
| Edit this page View SourceCount
Gets the Count of events in the queue.
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
| Edit this page View SourceDequeue()
Gets the next event from the Queue and removes it from the Queue.
Declaration
public override T Dequeue()
Returns
Type | Description |
---|---|
T |
Overrides
| Edit this page View SourceEnqueue(T)
Adds an event to the Queue.
Declaration
public override void Enqueue(T e)
Parameters
Type | Name | Description |
---|---|---|
T | e | Event. |
Overrides
| Edit this page View SourcePeek()
Gets the next event from the Queue while leaving the Queue unchanged.
Declaration
public override T Peek()
Returns
Type | Description |
---|---|
T |