mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-22 02:16:48 +00:00
#108 Consistent package naming throughout the examples
This commit is contained in:
1 parent
af92d8dde5
commit
3d488ec15a
128 files changed
+963
-873
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package com.iluwatar.business.delegate;
|
||||
|
||||
/**
|
||||
*
|
||||
* Client utilizes BusinessDelegate to call the business tier
|
||||
*
|
||||
*/
|
||||
public class Client {
|
||||
|
||||
private BusinessDelegate businessDelegate;
|
||||
|
||||
public Client(BusinessDelegate businessDelegate) {
|
||||
this.businessDelegate = businessDelegate;
|
||||
}
|
||||
|
||||
public void doTask() {
|
||||
businessDelegate.doTask();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user