Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

关于Builder Pattern的疑问 #3

Copy link
Copy link
@javyzheng

Description

@javyzheng
Issue body actions

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

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

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

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

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.