JavaTXCompilerInJavaTXNoMaven/lib/resources/AllgemeinTest/Twice2.jav

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;
}