We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5eef6 commit 9ff2f19Copy full SHA for 9ff2f19
src/creational/builder/java/io/github/hooj0/builder/support/simple/App.java
@@ -0,0 +1,23 @@
1
+package io.github.hooj0.builder.support.simple;
2
+
3
+/**
4
+ * simple example app client application
5
+ * @author hoojo
6
+ * @createDate 2018年10月14日 下午10:53:41
7
+ * @file App.java
8
+ * @package io.github.hooj0.builder.support.simple
9
+ * @project design-patterns
10
+ * @blog http://hoojo.cnblogs.com
11
+ * @email [email protected]
12
+ * @version 1.0
13
+ */
14
+public class App {
15
16
+ public static void main(String[] args) {
17
+ Product product = new Product.Builder("mouse").size(1).build();
18
+ System.out.println(product.getName());
19
20
+ product = new Product.Builder("keyboard").size(50).price(53.0f).orderNo("122234234").build();
21
22
+ }
23
+}
0 commit comments