UNPKG

hazelcast-client

Version:

Hazelcast - open source In-Memory Data Grid - client for NodeJS

25 lines 871 B
"use strict"; var ImmutableLazyDataList = (function () { function ImmutableLazyDataList(response, toObjectFunction) { this.response = response; this.toObjectFunction = toObjectFunction; } ImmutableLazyDataList.prototype.contains = function (item) { return this.response.contains(item); }; ImmutableLazyDataList.prototype.size = function () { return this.response.length; }; ImmutableLazyDataList.prototype.get = function (index) { var element = this.response[index]; return [element.key, element.value]; }; ImmutableLazyDataList.prototype.populate = function () { }; ImmutableLazyDataList.prototype.equal = function () { return false; }; return ImmutableLazyDataList; }()); module.exports = ImmutableLazyDataList; //# sourceMappingURL=ImmutableLazyDataList.js.map