Figure 9: Message delegation from the context to the State object.
图9:从内容到状态对象的消息委托。
Virtualization of the entity lifecycle through Object Flow Diagrams, a basic model that captures both events and state transitions, is critical in this model.
使用对象流图(它是捕获事件和状态转换的基础模型)虚拟化实体生命周期是这个模型的关键。
Newer methods such as Representational State Transfer (ReST) provide managed file access using URLs to specify the location, object, and method.
一些较新的方法,如具象状态传输(ReST),使用URL指定位置、对象和方法,提供受控制的文件访问。
Even in the case when objects update their state, object instantiation should be carefully considered.
即使在对象更新它们状态的情况下,也应该谨慎地考虑对象实例化。
Instance methods, almost by definition, involve object state.
根据其定义,实例方法涉及对象状态。
Create a new thread state object belonging to the given interpreter object.
创建一个从属于给定解释器的新线程状态对象。
More often than not, they involve mutable object state.
而它们时常也会涉及易变的对象状态。
Scenario 3: Improper object state.
场景3:不适当的对象状态。
For technologists, the same series of events reflects the change in state for object representing the main business entity.
对技术人员来说,同一事件序列反映了代表业务实体对象的状态变化。
Tests on static methods also are not supported because they don't affect object state.
对静态方法的测试也不支持,因为它们不影响对象的状态。
The information in this file becomes the expected state of the object during subsequent builds.
此文件中的信息成为随后的构造过程中对象的期望状态。
Also, during playback, if the same object state is not ensured, then the verification point will fail.
同样,在回放期间,如果并不能确保相同的对象状态,那么确认点将会失败。
BInitialState is the initial state of the event object.
bInitialState是这个事件对象的初始状态。
Methods you call shouldn't depend on the mutable state of any object and should return fully reproducible and predictable results.
您所调用的方法不应依赖于任何对象的易变状态,而应返回可再生产、可预测的结果。
The summarize function accesses properties to provide a short overview of the state of the object.
summarize函数访问属性来提供对象状态的简述。
If a response is received, the request object registers a ready state of 4.
如果接收到一个响应,那么请求对象会注册为就绪状态4。
The display function will inspect the current state of the history object and generate HTML for the history buttons.
display函数检查历史记录对象的当前状态,并为历史记录按钮生成HTML。
BIO_reset closes the connection and resets the internal state of the BIO object so that the connection can be reused.
BIO_reset关闭连接并重新设置BIO对象的内部状态,以便可以重新使用连接。
Creating a good partitioning of the software state space is a key goal of object design.
生成良好的软件状态空间的分割是对象设计的关键目标。
The object must be in the same state during playback for proper comparison with the baseline.
对象在回放期间必须是同一状态,以便与基线进行比较。
The code in Listing 8 does the same thing as the original code, but the logic for handling states has been put into one object for each state.
清单8中的代码完成的工作与初始代码相同,但是用于处理状态的逻辑已经被放入每个状态的一个对象中。
They are properties of the object prototype, but unlike the state variables, they have default values as shown in Listing 17.
它们是对象原型的属性,但是与状态变量不同,它们具有清单17所示的默认值。
The next evolution was object languages, which bundled the state variable structures and the operations that affected them into entities called class objects.
下一个演进是对象语言,它将状态变量结构和影响它们的操作捆绑为实体,成为类对象。
Because the pattern says that it "Allows an object to alter its behavior when its internal state changes."
因为模式要求它“允许一个对象在它的内部状态变化的时候改变它的行为。”
One of the goals of object orientation is to make encapsulating and working with state easier.
面向对象的其中一个目标是使封装和状态处理更加简单。
They should also think in terms of object types, events, changes to the state of the objects, and business rules that trigger and control events.
他们也应该按照对象类型、事件、对象状态的变化,以及触发和控制事件的业务规则进行思考。
This defect occurred because there was some session state that was not being cleaned up when the session object was invalidated.
此缺陷的发生是因为在使会话对象失效时,存在某个未被清除的会话状态。
For an entity to be considered a rich domain object it should not only contain state but also be able to call business services.
一个实体若想成为富领域对象不仅要包含状态,还得能调用业务服务。
In the context of data flow, an analyst identifies object types, and thinks about events that change the state of objects.
在数据流上下文中,分析师识别对象类型,并思考改变对象状态的事件。
It still involves the object creation, the messages between objects and the persistence of the new state.
它仍然涉及对象创建、对象之间的消息和新状态的持久性。
应用推荐