| OLD | NEW |
| 1 part of dart.core; | 1 part of dart.core; |
| 2 | 2 abstract class Set<E> extends IterableBase<E> implements EfficientLength {facto
ry Set() = LinkedHashSet<E>; |
| 3 abstract class Set<E> extends IterableBase<E> implements EfficientLength { | 3 factory Set.identity() = LinkedHashSet<E>.identity; |
| 4 factory Set() = LinkedHashSet<E>; | 4 factory Set.from(Iterable elements) = LinkedHashSet<E>.from; |
| 5 factory Set.identity() = LinkedHashSet<E>.identity; | 5 Iterator<E> get iterator; |
| 6 factory Set.from(Iterable elements) = LinkedHashSet<E>.from; | 6 bool contains(Object value); |
| 7 Iterator<E> get iterator; | 7 bool add(E value); |
| 8 bool contains(Object value); | 8 void addAll(Iterable<E> elements); |
| 9 bool add(E value); | 9 bool remove(Object value); |
| 10 void addAll(Iterable<E> elements); | 10 E lookup(Object object); |
| 11 bool remove(Object value); | 11 void removeAll(Iterable<Object> elements); |
| 12 E lookup(Object object); | 12 void retainAll(Iterable<Object> elements); |
| 13 void removeAll(Iterable<Object> elements); | 13 void removeWhere(bool test(E element)); |
| 14 void retainAll(Iterable<Object> elements); | 14 void retainWhere(bool test(E element)); |
| 15 void removeWhere(bool test(E element)); | 15 bool containsAll(Iterable<Object> other); |
| 16 void retainWhere(bool test(E element)); | 16 Set<E> intersection(Set<Object> other); |
| 17 bool containsAll(Iterable<Object> other); | 17 Set<E> union(Set<E> other); |
| 18 Set<E> intersection(Set<Object> other); | 18 Set<E> difference(Set<E> other); |
| 19 Set<E> union(Set<E> other); | 19 void clear(); |
| 20 Set<E> difference(Set<E> other); | 20 Set<E> toSet(); |
| 21 void clear(); | |
| 22 Set<E> toSet(); | |
| 23 } | 21 } |
| OLD | NEW |