OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 Money; | 5 library Money; |
6 | 6 |
| 7 import 'dart:collection' show Queue; |
| 8 |
7 part "complex_money.dart"; | 9 part "complex_money.dart"; |
8 part "currency_exchange.dart"; | 10 part "currency_exchange.dart"; |
9 part "currency.dart"; | 11 part "currency.dart"; |
10 part "simple_money.dart"; | 12 part "simple_money.dart"; |
11 | 13 |
12 /** | 14 /** |
13 * The interface [Money] defines the behavior of objects representing a monitary | 15 * The interface [Money] defines the behavior of objects representing a monitary |
14 * quantity. | 16 * quantity. |
15 */ | 17 */ |
16 abstract class Money { | 18 abstract class Money { |
17 Money operator +(Money money); | 19 Money operator +(Money money); |
18 | 20 |
19 Money addComplexMoney(ComplexMoney money); | 21 Money addComplexMoney(ComplexMoney money); |
20 | 22 |
21 Money addSimpleMoney(SimpleMoney money); | 23 Money addSimpleMoney(SimpleMoney money); |
22 } | 24 } |
OLD | NEW |