Index: sdk/lib/core/set.dart |
diff --git a/sdk/lib/core/set.dart b/sdk/lib/core/set.dart |
index 19be402b71fe579abfc4191ea6faa4d3299dfaba..1106a99dcdbca2b1f907804b6c1c499869dacb02 100644 |
--- a/sdk/lib/core/set.dart |
+++ b/sdk/lib/core/set.dart |
@@ -75,6 +75,14 @@ abstract class Set<E> extends IterableBase<E> { |
bool remove(Object value); |
/** |
+ * If an object equal to [object] is in the set, return it. |
+ * |
+ * Checks if there is an object in the set that is equal to [object]. |
+ * If so, that object is returned, otherwise returns null. |
+ */ |
+ E lookup(Object object); |
+ |
+ /** |
* Removes each element of [elements] from this set. |
*/ |
void removeAll(Iterable<Object> elements); |