國文屋

位置:首頁 > 造句 > 

“decorator”造句,怎麼用decorator造句

造句1.99W

Because human tasks are always asynchronous, the corresponding decorator process is typically a long-running process.

The decorator process exposes the same interface as the task it invokes.

When you invoke this decorator, you wrap it around any instance.

For example, if a process calls a human task in a late-bound fashion, it calls a decorator process using late binding, and in turn, the decorator process calls the task statically.

This event is actually fired by the updateDecorators from class HsqldbRunningDecorator, which represents the "other" decorator defined by the plugin.

然而,在其他情況下,decorator可能會將未修飾的方法與一些新功能相結合。

作為一個python函式,decorator完全可以實現其他Python程式碼所實現的任何功能。

如果方法的字首使用 @abstractmethod 修飾符(decorator),那麼此方法就是一個抽象方法。

This pattern USES late binding to invoke the currently valid version of a decorator process representing the actual human task, and thus it enables late binding to that task.

Listing 14. Smarter use of decorator.

清單14.decorator更聰明的用法。

But I can make a decorator without adding the extra structure of a class-based approach.

This looks better both to write the decorator in the first place, and in its behavior-preserving metadata.

A decorator might return a function, but one that is not meaningfully associated with the undecorated function.

這是因為事實上專案並不在受decorator影響的資源列表上,所以沒有LabelProviderChange dEvent。

讀者可能會試圖去用純粹的說明*(純 xml)decorator來標記具有正在執行的HSQLDB伺服器的專案上,如清單18 所示。

An advantage of the decorator pattern is that you can easily tack on more than one decorator to the base at a time.

Mylyn's interest decorator then uses font coloring to highlight the level of interest each element has accrued from your interaction.

本例中未修飾的Foo . say方法是一個簡單的佔位符,其整個行為都是由decorator決定的。

Their icons are shown with a decorator at the top left, as shown in Figure 28.

decorator造句

The decorator had the wood paneling painted to imitate marble.

The reader may be tempted to try a purely declarative (xml-only) decorator to tag projects with running HSQLDB server, as shown in Listing 18.

標籤:decorator 造句