Inertia is the resistance of objects to efforts to change their state of motion.
惯性是物体对改变其运动状态的力的阻碍。
Even in the case when objects update their state, object instantiation should be carefully considered.
即使在对象更新它们状态的情况下,也应该谨慎地考虑对象实例化。
Figure 1 shows the state of the objects after each line of code executes.
图1显示了每行代码执行后各对象的状态。
Until the transaction is finally committed, the objects are in "managed" state.
在事务最后提交之前,对象都处于“托管”状态。
Set state and expectations in the mock objects
设置模仿对象中的状态和期望值
With refs, you can change the state of multiple objects in a single transaction.
利用refs,可在单个事务中改变多个对象的状态。
Internal objects such as workflow state manager objects.
内部对象例如工作流状态管理器对象。
Always construct objects in a valid state.
总是构建状态有效的对象。
Uncaught exceptions can leave objects in a corrupt state.
不能捕获的异常可能会使对象处于崩溃状态。
Objects encapsulate state and behavior into a single software module.
对象封装了状态和行为为一个软件模块。
Often, model objects retrieve and store model state in a database.
通常,模型对象会检索模型状态并将其存储在数据库中。
Often, model objects retrieve and store model state in a database.
通常,模型对象会检索模型状态并将其存储在数据库中。
应用推荐