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 | |
6 // significant change. Please see the README file for more information. | |
7 | |
8 library engine.utilities.dart; | 5 library engine.utilities.dart; |
9 | 6 |
10 import 'java_core.dart'; | 7 import 'java_core.dart'; |
11 | 8 |
12 /** | 9 /** |
13 * The enumeration `ParameterKind` defines the different kinds of parameters. Th
ere are two | 10 * The enumeration `ParameterKind` defines the different kinds of parameters. Th
ere are two |
14 * basic kinds of parameters: required and optional. Optional parameters are fur
ther divided into | 11 * basic kinds of parameters: required and optional. Optional parameters are fur
ther divided into |
15 * two kinds: positional optional and named optional. | 12 * two kinds: positional optional and named optional. |
16 */ | 13 */ |
17 class ParameterKind extends Enum<ParameterKind> { | 14 class ParameterKind extends Enum<ParameterKind> { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 return false; | 52 return false; |
56 } | 53 } |
57 | 54 |
58 for (int i = 0; i < uri2Segments.length; ++i) { | 55 for (int i = 0; i < uri2Segments.length; ++i) { |
59 if (uri2Segments[i] != uri1Segments[i]) { | 56 if (uri2Segments[i] != uri1Segments[i]) { |
60 return false; | 57 return false; |
61 } | 58 } |
62 } | 59 } |
63 return true; | 60 return true; |
64 } | 61 } |
OLD | NEW |