Änderung von OLFun.jav zum originalen Sourcecode.

This commit is contained in:
Etienne Zink 2022-03-25 10:10:03 +01:00
parent c7c50f4669
commit 87064f8c7d
2 changed files with 1 additions and 4 deletions

View File

@ -1,11 +1,9 @@
package bytecode; package bytecode;
import java.io.File; import java.io.File;
import java.lang.invoke.*;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.net.URL; import java.net.URL;
import java.net.URLClassLoader; import java.net.URLClassLoader;
import java.util.function.Function;
import general.TestCleanUp; import general.TestCleanUp;
import org.junit.*; import org.junit.*;

View File

@ -10,8 +10,7 @@ import java.lang.Boolean;
public class OLFun { public class OLFun {
//f = x -> {return x + x;}; //f = x -> {return x + x;};
y;
m(f, x) { m(f, x) {
y = f.apply(x+x); x = f.apply(x+x);
} }
} }