| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 part of "io.dart"; | 5 part of "dart:io"; |
| 6 | 6 |
| 7 class _Platform { | 7 class _Platform { |
| 8 external static int _numberOfProcessors(); | 8 external static int _numberOfProcessors(); |
| 9 external static String _pathSeparator(); | 9 external static String _pathSeparator(); |
| 10 external static String _operatingSystem(); | 10 external static String _operatingSystem(); |
| 11 external static _localHostname(); | 11 external static _localHostname(); |
| 12 external static _executable(); | 12 external static _executable(); |
| 13 external static _resolvedExecutable(); | 13 external static _resolvedExecutable(); |
| 14 | 14 |
| 15 /** | 15 /** |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 _map.forEach(f); | 140 _map.forEach(f); |
| 141 } | 141 } |
| 142 | 142 |
| 143 Iterable<String> get keys => _map.keys; | 143 Iterable<String> get keys => _map.keys; |
| 144 Iterable<V> get values => _map.values; | 144 Iterable<V> get values => _map.values; |
| 145 int get length => _map.length; | 145 int get length => _map.length; |
| 146 bool get isEmpty => _map.isEmpty; | 146 bool get isEmpty => _map.isEmpty; |
| 147 bool get isNotEmpty => _map.isNotEmpty; | 147 bool get isNotEmpty => _map.isNotEmpty; |
| 148 String toString() => _map.toString(); | 148 String toString() => _map.toString(); |
| 149 } | 149 } |
| OLD | NEW |