dojox
»
collections
»
SortedList
» setByIndex
dojox.collections.SortedList.setByIndex
dojo.require("dojox.collections.SortedList");
defined in dojox/collections/SortedList.js
set an item by index
Usage
function (/*
Integer
*/ i, /*
Object
*/ o)
(view source)
items
[
q
[
i
]
.
key
]
.
value
=o; build
(
)
;
this
.
count
=q.
length
;
parameter
type
description
i
Integer
o
Object