Class StreamingEventQueue<T>
Represents a Queue of events which are streamed from an instance of a IJitEventGenerator<T> for use by an event based parser.
Implements
IEventQueue<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
| Improve this Doc 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
| Improve this Doc View SourceCount
Gets the Count of events in the queue.
Declaration
public override int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Count
Methods
| Improve this Doc 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
VDS.RDF.Parsing.Events.EventQueue<T>.Dequeue()
|
Improve this Doc
View Source
Enqueue(T)
Adds an event to the Queue.
Declaration
public override void Enqueue(T e)
Parameters
Type | Name | Description |
---|---|---|
T | e | Event. |
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Enqueue(T)
|
Improve this Doc
View Source
Peek()
Gets the next event from the Queue while leaving the Queue unchanged.
Declaration
public override T Peek()
Returns
Type | Description |
---|---|
T |
Overrides
VDS.RDF.Parsing.Events.EventQueue<T>.Peek()