mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 14:14:57 +00:00
* #984 for unitofwork, tolerantreader, twin * #984 for unitofwork, tolerantreader, twin * #987 for visitor, value-object, unitofwork, typeobjectpattern, tolerantreader, twin, tranpoline
This commit is contained in:
1 parent
c7fee7bb07
commit
fadad43f8b
4 files changed
+32
-28
No files matched your search
@@ -41,8 +41,8 @@ public class App {
|
||||
*/
|
||||
public static void main(String[] args) throws Exception {
|
||||
|
||||
BallItem ballItem = new BallItem();
|
||||
BallThread ballThread = new BallThread();
|
||||
var ballItem = new BallItem();
|
||||
var ballThread = new BallThread();
|
||||
|
||||
ballItem.setTwin(ballThread);
|
||||
ballThread.setTwin(ballItem);
|
||||
|
||||
Reference in new issue
Block a user