#107 Improve JavaDoc for Mediator example
This commit is contained in:
parent
add57d4066
commit
252f93899f
@ -2,12 +2,16 @@ package com.iluwatar.mediator;
|
||||
|
||||
/**
|
||||
*
|
||||
* Mediator encapsulates how a set of objects (PartyMember) interact. Instead of
|
||||
* referring to each other directly they use a mediator (Party) interface.
|
||||
* Mediator encapsulates how a set of objects ({@link PartyMember}) interact. Instead of
|
||||
* referring to each other directly they use a mediator ({@link Party}) interface.
|
||||
*
|
||||
*/
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* Program entry point
|
||||
* @param args command line args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
// create party and members
|
||||
|
@ -2,7 +2,7 @@ package com.iluwatar.mediator;
|
||||
|
||||
/**
|
||||
*
|
||||
* Interface for party members interacting with Party.
|
||||
* Interface for party members interacting with {@link Party}.
|
||||
*
|
||||
*/
|
||||
public interface PartyMember {
|
||||
|
@ -4,6 +4,11 @@ import org.junit.Test;
|
||||
|
||||
import com.iluwatar.mediator.App;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application test
|
||||
*
|
||||
*/
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user