JavaCompilerCore/test/javFiles/mathStruc.jav

12 lines
182 B
Plaintext
Raw Normal View History

2017-06-26 14:59:10 +00:00
class mathStruc<A> {
2017-06-30 11:48:59 +00:00
mathStruc(A a) { }
2017-06-26 14:59:10 +00:00
A model(){ A a; return a; }
2017-06-26 16:19:56 +00:00
methode(){
2017-06-26 14:59:10 +00:00
auto innerOp = o -> ms ->
new mathStruc<A>(o.apply(this.model(),ms.model()));
2017-06-26 16:19:56 +00:00
return innerOp;
2017-06-26 14:59:10 +00:00
}
}