observer

「observer」的意思

n. 观察者,目击者;观察家,评论员;(会议等的)观察员

n.观测者,观察员,遵守者

「observer」的用法

observer观察者 - 用于表示观察某个对象或事件的实体。

「observer」的例句

The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods.

观察者模式是一种软件设计模式,在这种模式中,一个对象,称为被观察者,维护一个依赖者的列表,称为观察者,并在状态发生变化时自动通知它们,通常通过调用它们的方法。

The observer can be used to implement distributed event-handling systems.

观察者可以用于实现分布式事件处理系统。

In this pattern, the observer is not aware of the existence of the subject.

在该模式中,观察者并不知道被观察者的存在。

The observer can also be used to implement a publish-subscribe system.

观察者也可以用于实现发布-订阅系统。

In this pattern, the subject is aware of the existence of its observers.

在该模式中,被观察者知道观察者的存在。

The observer can be used to implement a notification system.

观察者可以用于实现通知系统。

In this pattern, the subject maintains a list of observers and notifies them when its state changes.

在该模式中,被观察者维护一个观察者的列表,并在其状态发生变化时通知它们。

The observer can be used to implement a logging system.

观察者可以用于实现日志系统。

In this pattern, the subject maintains a list of observers and notifies them when its state changes.

在该模式中,被观察者维护一个观察者的列表,并在其状态发生变化时通知它们。

「observer」的相关推荐

dratted equipotential heyduck irradiative offenbach perianth scribal
分享这个页面