| 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 dart.core; | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * A parsed URI, as specified by RFC-3986, http://tools.ietf.org/html/rfc3986. | 8 * A parsed URI, such as a URL. |
| 9 * |
| 10 * **See also:** |
| 11 * |
| 12 * * [URIs][uris] in the [library tour][libtour] |
| 13 * * [RFC-3986](http://tools.ietf.org/html/rfc3986) |
| 14 * |
| 15 * [uris]: http://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html#c
h03-uri |
| 16 * [libtour]: http://www.dartlang.org/docs/dart-up-and-running/contents/ch03.htm
l |
| 9 */ | 17 */ |
| 10 class Uri { | 18 class Uri { |
| 11 final String _host; | 19 final String _host; |
| 12 int _port; | 20 int _port; |
| 13 String _path; | 21 String _path; |
| 14 | 22 |
| 15 /** | 23 /** |
| 16 * Returns the scheme component. | 24 * Returns the scheme component. |
| 17 * | 25 * |
| 18 * Returns the empty string if there is no scheme component. | 26 * Returns the empty string if there is no scheme component. |
| (...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1655 void clear() { | 1663 void clear() { |
| 1656 throw new UnsupportedError("Cannot modify an unmodifiable map"); | 1664 throw new UnsupportedError("Cannot modify an unmodifiable map"); |
| 1657 } | 1665 } |
| 1658 void forEach(void f(K key, V value)) => _map.forEach(f); | 1666 void forEach(void f(K key, V value)) => _map.forEach(f); |
| 1659 Iterable<K> get keys => _map.keys; | 1667 Iterable<K> get keys => _map.keys; |
| 1660 Iterable<V> get values => _map.values; | 1668 Iterable<V> get values => _map.values; |
| 1661 int get length => _map.length; | 1669 int get length => _map.length; |
| 1662 bool get isEmpty => _map.isEmpty; | 1670 bool get isEmpty => _map.isEmpty; |
| 1663 bool get isNotEmpty => _map.isNotEmpty; | 1671 bool get isNotEmpty => _map.isNotEmpty; |
| 1664 } | 1672 } |
| OLD | NEW |