PHP » GoLang |
login |
register |
about
|
GoLang Ds\PriorityQueue::peek
request it (263)
GoLang replacement for PHP's Ds\PriorityQueue::peek
[edit | history]
Ds\PriorityQueue::peek(PECL ds >= 1.0.0) Ds\PriorityQueue::peek — Returns the value at the front of the queue DescriptionReturns the value at the front of the queue, but does not remove it. ParametersThis function has no parameters. Return ValuesThe value at the front of the queue. Errors/ExceptionsUnderflowException if empty. ExamplesExample #1 Ds\PriorityQueue::peek() example
<?php The above example will output something similar to: string(1) "b" |
more
Recently updated
more
Most requested
more
Last requests
|