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
count()
Count elements of an object
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
count()
Count elements of an object
Traversable
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