Skip to content

关于Builder Pattern的疑问 #3

Description

@javyzheng

文中介绍的Builder Pattern的实现方式好像并不是很常用到。

http://www.jianshu.com/p/d263d6972870

上面的链接中,也介绍的是Builder模式,但实现方式似乎完全不一样。平时使用的Builder的典型使用方式是类似以下这种:

HttpClient httpClient = new StdHttpClient.Builder()
                                .host("mychouchdbhost")
                                .port(4455)
                                .build();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions