X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2Futil%2FTopologicalBag.java;h=eb71cdc6641ffd00520cacd38197fd2d09f9c957;hp=f7ce6e75858ea08dae148463c061240f8daced71;hb=d334d5060dbaa23f8f94b60cf1238c3f47cb5e9f;hpb=5501b4936902db296d51e3b212c012f2cd2c9065 diff --git a/src/edu/berkeley/sbp/util/TopologicalBag.java b/src/edu/berkeley/sbp/util/TopologicalBag.java index f7ce6e7..eb71cdc 100644 --- a/src/edu/berkeley/sbp/util/TopologicalBag.java +++ b/src/edu/berkeley/sbp/util/TopologicalBag.java @@ -103,11 +103,11 @@ public class TopologicalBag implements MapBag,V>, VisitableMap< private HashMap> cache = new HashMap>(); public Iterable getAll(Topology k) { return h.get(k); } - public void invoke(K k, Invokable ivbc, B b, C c) { + public void invoke(K k, Invokable ivbc, B b) { for(Topology t : h.keySet()) if (t.contains(k)) for(V v : h.get(t)) - ivbc.invoke(v, b, c); + ivbc.invoke(v, b); } public Iterable get(K k) { @@ -165,13 +165,13 @@ public class TopologicalBag implements MapBag,V>, VisitableMap< return true; return false; } - public void invoke(K k, Invokable ivbc, B b, C c) { + public void invoke(K k, Invokable ivbc, B b) { int asint = f.invoke(k); for(int i=0; i= asint) { Object[] arr = v[i]; for(int j=0; j