JavaTXCompilerInJavaTXNoMaven/resources/AllgemeinTest/Twice2.jav
2024-05-02 23:04:07 +02:00

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