Revision: 8338
Author: [email protected]
Date: Wed Jun 30 09:07:35 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=8338

Modified:
 /wiki/LightweightCollections.wiki

=======================================
--- /wiki/LightweightCollections.wiki   Wed Jun 30 08:54:04 2010
+++ /wiki/LightweightCollections.wiki   Wed Jun 30 09:07:35 2010
@@ -150,6 +150,9 @@
   public boolean containsKey(K key);
   public V get(K key);
   public boolean isEmpty();
+
+  // Provides a way to efficiently iterate over the values in the map
+  public forEach(Action<E> function);
 }

 /**
@@ -166,9 +169,6 @@
   @ConstantTime public ImmutableMap<K,V> freeze();
   @ConstantTime public void put(K key,V value);
   @ConstantTime public void remove(K key);
-
-  // Provides a way to efficiently iterate over the values in the map
-  public forEach(Action<E> function);
 }

 /**
@@ -192,6 +192,9 @@
   @LinearTime public boolean containsSome(Set<E> other);
   @ConstantTime public boolean isEmpty();
   @LinearTime public boolean isEqual(Set<E> set);
+
+  // Provides a way to efficiently iterate over the values in the set
+  public forEach(Action<E> function);
 }

 public class MutableSet<E> extends Set<E> {
@@ -211,9 +214,6 @@

   // Substraction
   @LinearTime public void removeAll(Set<E> other);
-
-  // Provides a way to efficiently iterate over the values in the set
-  public forEach(Action<E> function);
 }

 /**

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to