Join Java: Difference between revisions

Content deleted Content added
No edit summary
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 30:
 
Example:
<sourcesyntaxhighlight lang="java">
class JoinExample {
int fragment1() & fragment2(int x) {
Line 38:
}
}
</syntaxhighlight>
</source>
=== Ordering modifiers ===
Join fragments can be repeated in multiple Join patterns so there can be
Line 51:
 
Example:
<sourcesyntaxhighlight lang="java">
class ordered SimpleJoinPattern {
void A() & B() {
Line 62:
}
}
</syntaxhighlight>
</source>
=== Asynchronous methods ===
Asynchronous methods are defined by using the <STRONG>signal</STRONG>
Line 70:
 
Example:
<sourcesyntaxhighlight lang="java">
class ThreadExample {
signal thread(SomeObject x) {
Line 76:
}
}
</syntaxhighlight>
</source>
 
== Related languages ==