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 foo() => 499; | 5 /// A generator of globally unique identifiers. |
| 6 abstract class IdGenerator { |
| 7 /// Returns the next free identifier. |
| 8 /// |
| 9 /// This identifier is guaranteed to be unique. |
| 10 int getNextFreeId(); |
| 11 } |
OLD | NEW |