dojox
»
collections
»
BinaryTree
» compareData
dojox.collections.BinaryTree.compareData
dojo.require("dojox.collections.BinaryTree");
defined in dojox/collections/BinaryTree.js
Usage
function (d)
(view source)
if
(
this
.
value
>
d
)
{
return
1
;
}
if
(
this
.
value
<
d
)
{
return
-1
;
}
return
0
;
parameter
type
description
d