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

Side by Side Diff: pkg/barback/lib/src/asset_set.dart

Issue 155213002: Add a bunch of toString methods to internal Barback classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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 library barback.asset_set; 5 library barback.asset_set;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'asset.dart'; 9 import 'asset.dart';
10 import 'asset_id.dart'; 10 import 'asset_id.dart';
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return _assets.containsKey(id); 61 return _assets.containsKey(id);
62 } 62 }
63 63
64 /// If the set contains an [Asset] with [id], removes and returns it. 64 /// If the set contains an [Asset] with [id], removes and returns it.
65 Asset removeId(AssetId id) => _assets.remove(id); 65 Asset removeId(AssetId id) => _assets.remove(id);
66 66
67 /// Removes all assets from the set. 67 /// Removes all assets from the set.
68 void clear() { 68 void clear() {
69 _assets.clear(); 69 _assets.clear();
70 } 70 }
71
72 String toString() => _assets.toString();
71 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698