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

Side by Side Diff: pkg/serialization/lib/src/polyfill_identity_set.dart

Issue 11578037: Replicating CL https://chromiumcodereview.appspot.com/11553012/ (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « pkg/serialization/lib/src/basic_rule.dart ('k') | pkg/serialization/lib/src/reader_writer.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) 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 // TODO(alanknight): Replace with proper identity collection. Issue 4161 5 // TODO(alanknight): Replace with proper identity collection. Issue 4161
6 library identity_set; 6 library identity_set;
7 7
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 // Hash map implementation with open addressing and quadratic probing. 10 // Hash map implementation with open addressing and quadratic probing.
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 /** 297 /**
298 * This class represents a pair of two objects, used by LinkedHashMap 298 * This class represents a pair of two objects, used by LinkedHashMap
299 * to store a {key, value} in a list. 299 * to store a {key, value} in a list.
300 */ 300 */
301 class _KeyValuePair<K, V> { 301 class _KeyValuePair<K, V> {
302 _KeyValuePair(this.key, this.value) {} 302 _KeyValuePair(this.key, this.value) {}
303 303
304 final K key; 304 final K key;
305 V value; 305 V value;
306 } 306 }
307
OLDNEW
« no previous file with comments | « pkg/serialization/lib/src/basic_rule.dart ('k') | pkg/serialization/lib/src/reader_writer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698