a0e6df7cfd
modified: src/main/java/de/dhbwstuttgart/core/JavaTXCompiler.java modified: src/test/java/AllgemeinTest.java
12 lines
170 B
Java
12 lines
170 B
Java
class Twice2 {
|
|
id1inst = new Id<>();
|
|
id1 = id1inst.id;
|
|
id2inst = new Id<>();
|
|
id2 = id2inst.id;
|
|
twice = id1.apply(id2);
|
|
|
|
}
|
|
|
|
class Id<T> {
|
|
id = (T x) -> x;
|
|
} |