示例#1
0
 public static void forEach(Map @this, java.util.function.BiConsumer biconsumer)
 {
     java.util.Iterator i = @this.keySet().iterator();
     while (i.hasNext())
     {
         System.Object key   = i.next();
         System.Object value = @this.get(key);
         biconsumer.accept(key, value);
     }
 }
示例#2
0
文件: Map.cs 项目: zhangxin8105/LGame
 public static void ForEach(Map <K, V> @this, java.util.function.BiConsumer biconsumer)
 {
     java.util.Iterator <K> i = @this.KeySet().Iterator();
     while (i.HasNext())
     {
         K key   = i.Next();
         V value = @this.Get(key);
         biconsumer.Accept(key, value);
     }
 }
示例#3
0
 public virtual void forEach(java.util.function.BiConsumer biconsumer)
 {
     java.util.Map_0009.forEach(this, biconsumer);
 }