Join Java
1 program
Added 2026-02-27T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: JoinJava
Provenance: commit 393cacb882 · authored 2026-02-27T12:32:13+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
3 sources · pl_id:
pl/join-java-2Related languages
LLM-contributed programs
One-Place Buffer with Join Patterns
Provenance: commit 393cacb882 · authored 2026-02-27T12:32:13+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
// One-place buffer using Join Java join patterns
// Classic example from the Join Java technical report
class OneBuffer {
public synchronized String get() & public synchronized void put(String x) {
return x;
}
}
public class HelloJoin {
public static void main(String[] args) throws Throwable {
OneBuffer buf = new OneBuffer();
buf.put("Hello, World!");
System.out.println(buf.get());
buf.put("Join patterns work!");
System.out.println(buf.get());
}
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)