Heap
final class Heap implements Countable, IteratorAggregate, JsonSerializable (View source)
Constants
| MIN_CAPACITY |
|
Methods
__construct(iterable $values = [], callable|null $comparator = null)
No description
void
clear()
No description
int<0, max>
count()
Count elements of an object
TValue>|TValue[]
getIterator()
No description
bool
isEmpty()
No description
mixed
jsonSerialize()
No description
TValue
peek()
No description
TValue
pop()
No description
void
push(TValue ...$values)
No description
array
toArray()
No description
array
__serialize()
No description
void
__unserialize(array $data)
No description
Details
__construct(iterable $values = [], callable|null $comparator = null)
No description
void
clear()
No description
Heap
copy()
No description
int<0, max>
count()
Count elements of an object
TValue>|TValue[]
getIterator()
No description
bool
isEmpty()
No description
mixed
jsonSerialize()
No description
TValue
peek()
No description
TValue
pop()
No description
void
push(TValue ...$values)
No description
array
toArray()
No description
array
__serialize()
No description
void
__unserialize(array $data)
No description