OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library dart2js.util.enumset; | 5 library dart2js.util.enumset; |
6 | 6 |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 | 8 |
9 /// A set of enum values based on a bit mask of the shifted enum indices. | 9 /// A set of enum values based on a bit mask of the shifted enum indices. |
10 abstract class EnumSet<E> { | 10 abstract class EnumSet<E> { |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 } | 189 } |
190 _mask >>= 1; | 190 _mask >>= 1; |
191 _index--; | 191 _index--; |
192 if (_current != null) { | 192 if (_current != null) { |
193 break; | 193 break; |
194 } | 194 } |
195 } | 195 } |
196 return _current != null; | 196 return _current != null; |
197 } | 197 } |
198 } | 198 } |
199 } | 199 } |
OLD | NEW |