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 main() {} | 5 main() {} |
6 | 6 |
7 class BacklogListEditorState | 7 class BacklogListEditorState |
8 extends AbstractListEditorState<BacklogsState, BacklogListEditorState> {} | 8 extends AbstractListEditorState<BacklogsState, BacklogListEditorState> {} |
9 | 9 |
10 class BacklogsState extends MutableEntityState<BacklogsState> {} | 10 class BacklogsState extends MutableEntityState<BacklogsState> {} |
11 | 11 |
12 abstract class AbstractListEditorState<ES extends ComponentState<ES>, | 12 abstract class AbstractListEditorState<ES extends ComponentState<ES>, |
13 S extends AbstractListEditorState<ES, S>> extends ComponentState<S> {} | 13 S extends AbstractListEditorState<ES, S>> extends ComponentState<S> {} |
14 | 14 |
15 abstract class ComponentState<S extends ComponentState<S>> {} | 15 abstract class ComponentState<S extends ComponentState<S>> {} |
16 | 16 |
17 abstract class EntityState<ES extends EntityState<ES>> | 17 abstract class EntityState<ES extends EntityState<ES>> |
18 extends ComponentState<ES> {} | 18 extends ComponentState<ES> {} |
19 | 19 |
20 abstract class MutableEntityState<S extends MutableEntityState<S>> | 20 abstract class MutableEntityState<S extends MutableEntityState<S>> |
21 extends EntityState<S> implements ComponentState<S> {} | 21 extends EntityState<S> implements ComponentState<S> {} |
22 | |
OLD | NEW |