OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 * @template T | 84 * @template T |
85 */ | 85 */ |
86 Array.prototype.rotate = function(index) {}; | 86 Array.prototype.rotate = function(index) {}; |
87 /** | 87 /** |
88 * @this {Array.<number>} | 88 * @this {Array.<number>} |
89 */ | 89 */ |
90 Array.prototype.sortNumbers = function() {}; | 90 Array.prototype.sortNumbers = function() {}; |
91 /** | 91 /** |
92 * @param {!S} object | 92 * @param {!S} object |
93 * @param {function(!S,!T):number=} comparator | 93 * @param {function(!S,!T):number=} comparator |
| 94 * @param {number=} left |
| 95 * @param {number=} right |
94 * @return {number} | 96 * @return {number} |
95 * @this {Array.<T>} | 97 * @this {Array.<T>} |
96 * @template S | 98 * @template S |
97 */ | 99 */ |
98 Array.prototype.lowerBound = function(object, comparator) {}; | 100 Array.prototype.lowerBound = function(object, comparator, left, right) {}; |
99 /** | 101 /** |
100 * @param {!S} object | 102 * @param {!S} object |
101 * @param {function(!S,!T):number=} comparator | 103 * @param {function(!S,!T):number=} comparator |
| 104 * @param {number=} left |
| 105 * @param {number=} right |
102 * @return {number} | 106 * @return {number} |
103 * @this {Array.<T>} | 107 * @this {Array.<T>} |
104 * @template S | 108 * @template S |
105 */ | 109 */ |
106 Array.prototype.upperBound = function(object, comparator) {}; | 110 Array.prototype.upperBound = function(object, comparator, left, right) {}; |
107 /** | 111 /** |
108 * @param {!S} value | 112 * @param {!S} value |
109 * @param {function(!S,!T):number} comparator | 113 * @param {function(!S,!T):number} comparator |
110 * @return {number} | 114 * @return {number} |
111 * @this {Array.<T>} | 115 * @this {Array.<T>} |
112 * @template S | 116 * @template S |
113 */ | 117 */ |
114 Array.prototype.binaryIndexOf = function(value, comparator) {}; | 118 Array.prototype.binaryIndexOf = function(value, comparator) {}; |
115 /** | 119 /** |
116 * @param {function(number, number): number} comparator | 120 * @param {function(number, number): number} comparator |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 | 179 |
176 /** | 180 /** |
177 * @param {!Array.<T>} array | 181 * @param {!Array.<T>} array |
178 * @param {function(T,T):number} comparator | 182 * @param {function(T,T):number} comparator |
179 * @return {!Array.<T>} | 183 * @return {!Array.<T>} |
180 * @this {!Array.<T>} | 184 * @this {!Array.<T>} |
181 * @template T | 185 * @template T |
182 */ | 186 */ |
183 Array.prototype.mergeOrdered = function(array, comparator) {}; | 187 Array.prototype.mergeOrdered = function(array, comparator) {}; |
184 | 188 |
| 189 /** |
| 190 * @param {number} object |
| 191 * @param {function(number, number):number=} comparator |
| 192 * @param {number=} left |
| 193 * @param {number=} right |
| 194 * @return {number} |
| 195 */ |
| 196 Int32Array.prototype.lowerBound = function(object, comparator, left, right) {}; |
| 197 |
185 // File System API | 198 // File System API |
186 /** | 199 /** |
187 * @constructor | 200 * @constructor |
188 */ | 201 */ |
189 function DOMFileSystem() { | 202 function DOMFileSystem() { |
190 } | 203 } |
191 | 204 |
192 /** | 205 /** |
193 * @type {DirectoryEntry} | 206 * @type {DirectoryEntry} |
194 */ | 207 */ |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 var Terminal = {}; | 855 var Terminal = {}; |
843 var TestRunner = {}; | 856 var TestRunner = {}; |
844 var TextEditor = {}; | 857 var TextEditor = {}; |
845 var Timeline = {}; | 858 var Timeline = {}; |
846 var TimelineModel = {}; | 859 var TimelineModel = {}; |
847 var ToolboxBootstrap = {}; | 860 var ToolboxBootstrap = {}; |
848 var UI = {}; | 861 var UI = {}; |
849 var UtilitySharedWorker = {}; | 862 var UtilitySharedWorker = {}; |
850 var WorkerService = {}; | 863 var WorkerService = {}; |
851 var Workspace = {}; | 864 var Workspace = {}; |
OLD | NEW |