Except as otherwise noted,
the content of this page is licensed under the Creative Commons
Attribution 3.0 License.
Google Code offered in: English - Español - 日本語 - 한국어 - Português - Pусский - 中文(简体) - 中文(繁體)
Collection of multiple objects with useful accessors. May also represent subset of a larger collection (for example, page 1 of 10) and contain information about the larger collection.
Array.<Object>
asArray()
each(fn)
Object?
getById(id)
Number
getOffset()
Number
getTotalSize()
Number
size()
Array.<Object> asArray()
Array.<Object> The values in this collection
each(fn)
Function fn - The function to call with each collection entry
Object? getById(id)
String id - The ID to look for
Object? The data
Number getOffset()
Number The offset into the total collection
Number getTotalSize()
Number The total size of the result
Number size()
Number The size of this collection