Files
JavaCompilerCore/resources/KPSPresentation/mathStrucInteger.jav
pl@gohorb.ba-horb.de a0e59eebe8
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 1m35s
new file: AddEle.jav
new file:   Fac.jav
	new file:   Faculty.jav
2025-09-24 13:53:55 +02:00

18 lines
291 B
Java

import java.lang.Integer;
class mathStruc {
model;
innerOp = (o) -> (ms) -> new mathStruc<>(o.apply(model,ms.model));
mathStruc(m) {
model =m;
}
}
class mathStrucIntegerUse {
main() {
var ms = new mathStruc<>(2);
return ms.innerOp.apply((x,y) -> x+y).apply(ms);
}
}