2013-10-18 11:33:46 +00:00
|
|
|
//package LampdaExpressions;
|
|
|
|
|
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
|
2015-04-22 19:40:22 +00:00
|
|
|
public class general extends Menge<Menge<Integer>> {
|
2013-10-18 11:33:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String test(String c) throws Exception {
|
|
|
|
Callable<String> halloLambda;
|
|
|
|
a;
|
|
|
|
a = () -> {return "hallo";};
|
|
|
|
a = a + 1;
|
|
|
|
return a.call();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String test2(){
|
|
|
|
return "hallo";
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|