Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
DVDoug
BoxPacker
ItemList
PHP Class DVDoug\BoxPacker\ItemList
Author:
Doug Wright
Inheritance:
extends
SplMaxHeap
Afficher le fichier
Open project: dvdoug/boxpacker
Class Usage Examples
Méthodes publiques
Méthode
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
méthode
Get copy of this list as a standard PHP array
public
asArray
( ) :
array
Résultat
array
compare()
public
méthode
Compare elements in order to place them correctly in the heap while sifting up.
See also:
SplMaxHeap::compare()
public
compare
(
$itemA
,
$itemB
)