JavaXT
|
|
DataStore ClassSimple data store used to manage records and broadcast updates
ConstructorsPublic Methodsinsert( record, idx ) Used to add a record at a specific index and pushes records below it down a level forEach( callback ) Used to iterate through all the records in the store using a callback function. Example:
store.forEach(function (record, i) { console.log(i, record); });Optional: return true in the callback function if you wish to break and iterate stop iterating. |