Network.Sim
Network.Sim
Network.Sim.Miscellaneous
CappedQueue(T) Class
CappedQueue(T) Methods
Dequeue Method
Enqueue Method
GetEnumerator Method
Peek Method
CappedQueue
T
Peek Method
Returns the element at the beginning of the queue without removing it.
Namespace:
Network.Sim.Miscellaneous
Assembly:
Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
T
Peek
()
Return Value
Type:
T
The object at the beginning of the queue.
Exceptions
Exception
Condition
InvalidOperationException
Thrown if the queue is empty.
See Also
Reference
CappedQueue
T
Class
Network.Sim.Miscellaneous Namespace
Network.Sim - A Software simulating an IEEE 802.3-based (Ethernet) Network Stack
Copyright © Torben Könke 2013