| 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:collection"; | 5 part of dart.collection; |
| 6 | 6 |
| 7 typedef bool _Predicate<T>(T value); | 7 typedef bool _Predicate<T>(T value); |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * A node in a splay tree. It holds the sorting key and the left | 10 * A node in a splay tree. It holds the sorting key and the left |
| 11 * and right children in the tree. | 11 * and right children in the tree. |
| 12 */ | 12 */ |
| 13 class _SplayTreeNode<K> { | 13 class _SplayTreeNode<K> { |
| 14 final K key; | 14 final K key; |
| 15 _SplayTreeNode<K> left; | 15 _SplayTreeNode<K> left; |
| (...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 850 } | 850 } |
| 851 | 851 |
| 852 void clear() { | 852 void clear() { |
| 853 _clear(); | 853 _clear(); |
| 854 } | 854 } |
| 855 | 855 |
| 856 Set<E> toSet() => _clone(); | 856 Set<E> toSet() => _clone(); |
| 857 | 857 |
| 858 String toString() => IterableBase.iterableToFullString(this, '{', '}'); | 858 String toString() => IterableBase.iterableToFullString(this, '{', '}'); |
| 859 } | 859 } |
| OLD | NEW |