mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 03:01:12 +00:00
Comments for mediator example.
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
package com.iluwatar;
|
||||
|
||||
/**
|
||||
*
|
||||
* Mediator encapsulates how set of objects (PartyMember) interact.
|
||||
* Instead of referring to each other directly they
|
||||
* use the mediator (Party) interface.
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
|
||||
Reference in New Issue
Block a user