Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: sdk/lib/convert/converter.dart

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/convert/codec.dart ('k') | sdk/lib/convert/encoding.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "convert.dart"; 5 part of "dart:convert";
6 6
7 /** 7 /**
8 * A [Converter] converts data from one representation into another. 8 * A [Converter] converts data from one representation into another.
9 * 9 *
10 * It is recommended that implementations of `Converter` extend this class, 10 * It is recommended that implementations of `Converter` extend this class,
11 * to inherit any further methods that may be added to the class. 11 * to inherit any further methods that may be added to the class.
12 */ 12 */
13 abstract class Converter<S, T> implements StreamTransformer<S, T> { 13 abstract class Converter<S, T> implements StreamTransformer<S, T> {
14 const Converter(); 14 const Converter();
15 15
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 final Converter<M, T> _second; 55 final Converter<M, T> _second;
56 56
57 _FusedConverter(this._first, this._second); 57 _FusedConverter(this._first, this._second);
58 58
59 T convert(S input) => _second.convert(_first.convert(input)); 59 T convert(S input) => _second.convert(_first.convert(input));
60 60
61 Sink/*<S>*/ startChunkedConversion(Sink/*<T>*/ sink) { 61 Sink/*<S>*/ startChunkedConversion(Sink/*<T>*/ sink) {
62 return _first.startChunkedConversion(_second.startChunkedConversion(sink)); 62 return _first.startChunkedConversion(_second.startChunkedConversion(sink));
63 } 63 }
64 } 64 }
OLDNEW
« no previous file with comments | « sdk/lib/convert/codec.dart ('k') | sdk/lib/convert/encoding.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698