For example, the lifeline of a wrapper class should probably be right next to the lifeline of the wrapped class.
例如,包裹类的生命线可能会靠近包裹类的生命线。
For example, using the document-literal encoding imposes wrapped versions of each method class, and that, in turn, creates additional manageability and maintainability issues.
例如,使用文档文字编码利用了每个方法类的封装版本,并造成了额外的可管理性与可维护性的问题。
The idea behind class wrapping is that a target class can be wrapped in a layer of instrumenting code that retains the same external behavior as the class that's wrapped.
类包装背后的理念是:目标类可以包装在一层插装代码中,后者具有与被包装的类相同的外部行为。
应用推荐