mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-18 02:14:53 +00:00
#107 Facade example JavaDoc
This commit is contained in:
1 parent
527da253c9
commit
87717a581b
2 files changed
+11
-1
No files matched your search
@@ -2,12 +2,17 @@ package com.iluwatar.facade;
|
||||
|
||||
/**
|
||||
*
|
||||
* Facade (DwarvenGoldmineFacade) provides simpler interface to subsystem.
|
||||
* Facade ({@link DwarvenGoldmineFacade}) provides simpler interface to subsystem.
|
||||
* <p>
|
||||
* http://en.wikipedia.org/wiki/Facade_pattern
|
||||
*
|
||||
*/
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* Program entry point
|
||||
* @param args command line args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
DwarvenGoldmineFacade facade = new DwarvenGoldmineFacade();
|
||||
facade.startNewDay();
|
||||
|
||||
@@ -4,6 +4,11 @@ import org.junit.Test;
|
||||
|
||||
import com.iluwatar.facade.App;
|
||||
|
||||
/**
|
||||
*
|
||||
* Application test
|
||||
*
|
||||
*/
|
||||
public class AppTest {
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user