chained invocation(链式调用)或者Method chaining
Contents
https://www.zhihu.com/question/22006988
这就是chained invocation(链式调用)或者Method chaining,这种风格的API设计叫做fluent API或者Fluent interface。它常用在Builder pattern的实现上。
Author w1100n
LastMod 2019-06-21
https://www.zhihu.com/question/22006988
这就是chained invocation(链式调用)或者Method chaining,这种风格的API设计叫做fluent API或者Fluent interface。它常用在Builder pattern的实现上。
Author w1100n
LastMod 2019-06-21