/** * Gets closure that ignores its arguments and executes the same way as this absolute closure. * * @param <E1> Type of 1st ignore argument. * @param <E2> Type of 2nd ignore argument. * @return Closure that ignores its arguments and executes the same way as this absolute closure. */ public <E1, E2> GridInClosure2<E1, E2> uncurry2() { GridInClosure2<E1, E2> c = new CI2<E1, E2>() { @Override public void apply(E1 e1, E2 e2) { GridAbsClosure.this.apply(); } }; c.peerDeployLike(this); return withMeta(c); }