Queue/Definition: Difference between revisions
Content added Content deleted
imported>Arakov |
imported>Arakov |
||
Line 2,803: | Line 2,803: | ||
{ |
{ |
||
if (theTale == theTop) |
if (theTale == theTop) |
||
{ InvalidOperationException.new |
{ InvalidOperationException.new("Queue is empty").raise() }; |
||
T item := theArray[theTop]; |
T item := theArray[theTop]; |