| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine; | 8 library engine; |
| 9 | 9 |
| 10 import 'java_core.dart'; | 10 import 'java_core.dart'; |
| (...skipping 9294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9305 */ | 9305 */ |
| 9306 WorkManager_WorkIterator(this.WorkManager_this) { | 9306 WorkManager_WorkIterator(this.WorkManager_this) { |
| 9307 _advance(); | 9307 _advance(); |
| 9308 } | 9308 } |
| 9309 | 9309 |
| 9310 /** | 9310 /** |
| 9311 * Return `true` if there is another [Source] available for processing. | 9311 * Return `true` if there is another [Source] available for processing. |
| 9312 * | 9312 * |
| 9313 * @return `true` if there is another [Source] available for processing | 9313 * @return `true` if there is another [Source] available for processing |
| 9314 */ | 9314 */ |
| 9315 bool get hasNext => _queueIndex < _workQueues.length; | 9315 bool get hasNext => _queueIndex < WorkManager_this._workQueues.length; |
| 9316 | 9316 |
| 9317 /** | 9317 /** |
| 9318 * Return the next [Source] available for processing and advance so that the r
eturned | 9318 * Return the next [Source] available for processing and advance so that the r
eturned |
| 9319 * source will not be returned again. | 9319 * source will not be returned again. |
| 9320 * | 9320 * |
| 9321 * @return the next [Source] available for processing | 9321 * @return the next [Source] available for processing |
| 9322 */ | 9322 */ |
| 9323 Source next() { | 9323 Source next() { |
| 9324 if (!hasNext) { | 9324 if (!hasNext) { |
| 9325 throw new NoSuchElementException(); | 9325 throw new NoSuchElementException(); |
| 9326 } | 9326 } |
| 9327 Source source = WorkManager_this._workQueues[_queueIndex][_index]; | 9327 Source source = WorkManager_this._workQueues[_queueIndex][_index]; |
| 9328 _advance(); | 9328 _advance(); |
| 9329 return source; | 9329 return source; |
| 9330 } | 9330 } |
| 9331 | 9331 |
| 9332 /** | 9332 /** |
| 9333 * Increment the [index] and [queueIndex] so that they are either indicating t
he | 9333 * Increment the [index] and [queueIndex] so that they are either indicating t
he |
| 9334 * next source to be returned or are indicating that there are no more sources
to be returned. | 9334 * next source to be returned or are indicating that there are no more sources
to be returned. |
| 9335 */ | 9335 */ |
| 9336 void _advance() { | 9336 void _advance() { |
| 9337 _index++; | 9337 _index++; |
| 9338 if (_index >= WorkManager_this._workQueues[_queueIndex].length) { | 9338 if (_index >= WorkManager_this._workQueues[_queueIndex].length) { |
| 9339 _index = 0; | 9339 _index = 0; |
| 9340 _queueIndex++; | 9340 _queueIndex++; |
| 9341 while (_queueIndex < _workQueues.length && WorkManager_this._workQueues[_q
ueueIndex].isEmpty) { | 9341 while (_queueIndex < WorkManager_this._workQueues.length && WorkManager_th
is._workQueues[_queueIndex].isEmpty) { |
| 9342 _queueIndex++; | 9342 _queueIndex++; |
| 9343 } | 9343 } |
| 9344 } | 9344 } |
| 9345 } | 9345 } |
| 9346 } | 9346 } |
| 9347 | 9347 |
| 9348 /** | 9348 /** |
| 9349 * An [Expression] with optional [AngularFilterNode]s. | 9349 * An [Expression] with optional [AngularFilterNode]s. |
| 9350 */ | 9350 */ |
| 9351 class AngularExpression { | 9351 class AngularExpression { |
| (...skipping 2904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12256 } | 12256 } |
| 12257 | 12257 |
| 12258 @override | 12258 @override |
| 12259 void logInformation(String message) { | 12259 void logInformation(String message) { |
| 12260 } | 12260 } |
| 12261 | 12261 |
| 12262 @override | 12262 @override |
| 12263 void logInformation2(String message, Exception exception) { | 12263 void logInformation2(String message, Exception exception) { |
| 12264 } | 12264 } |
| 12265 } | 12265 } |
| OLD | NEW |