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
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 |
---|---|
int |
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()