mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 07:13:02 +00:00
Update App.java (#1098)
This commit is contained in:
1 parent
7e4d0b4cdc
commit
d4b2496e60
1 file changed
+2
-2
@@ -25,10 +25,10 @@ package com.iluwatar.twin;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Twin pattern is a design pattern which provides a standard solution to simulate multiple
|
* Twin pattern is a design pattern which provides a standard solution to simulate multiple
|
||||||
* inheritance in java.
|
* inheritance in Java.
|
||||||
*
|
*
|
||||||
* <p>In this example, the essence of the Twin pattern is the {@link BallItem} class and {@link
|
* <p>In this example, the essence of the Twin pattern is the {@link BallItem} class and {@link
|
||||||
* BallThread} class represent the twin objects to coordinate with each other(via the twin
|
* BallThread} class represent the twin objects to coordinate with each other (via the twin
|
||||||
* reference) like a single class inheriting from {@link GameItem} and {@link Thread}.
|
* reference) like a single class inheriting from {@link GameItem} and {@link Thread}.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user