Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
DVDoug
BoxPacker
ItemList
PHP Class DVDoug\BoxPacker\ItemList
Author:
Doug Wright
Inheritance:
extends
SplMaxHeap
Mostra file
Open project: dvdoug/boxpacker
Class Usage Examples
Public Methods
Method
Description
asArray
( ) :
array
Get copy of this list as a standard PHP array
compare
(
$itemA
,
$itemB
)
Compare elements in order to place them correctly in the heap while sifting up.
Method Details
asArray()
public
method
Get copy of this list as a standard PHP array
public
asArray
( ) :
array
return
array
compare()
public
method
Compare elements in order to place them correctly in the heap while sifting up.
See also:
SplMaxHeap::compare()
public
compare
(
$itemA
,
$itemB
)