In particular, the goal of object system design is to partition the system state to meet the same goals of maintainability and extendibility faced in software design.
特别是,对象系统设计的目标是分割系统状态,从而达到软件设计中面临的同样的可维护性和可扩展性的目标。
If you have an immutable object, you must set whatever state it will contain in the constructor.
如果您有一个不可变对象,则必须要在构造函数中设置该对象将包含的任何状态。
The information in this file becomes the expected state of the object during subsequent builds.
此文件中的信息成为随后的构造过程中对象的期望状态。
The observer object subscribes to events that report any state changes in the monitored entity, and then updates its own state based on information in those events.
观察器对象订阅那些报告所监视实体中任何状态更改的事件,然后基于那些事件中的信息更新自己的状态。
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中的代码完成的工作与初始代码相同,但是用于处理状态的逻辑已经被放入每个状态的一个对象中。
Virtualization of the entity lifecycle through Object Flow Diagrams, a basic model that captures both events and state transitions, is critical in this model.
使用对象流图(它是捕获事件和状态转换的基础模型)虚拟化实体生命周期是这个模型的关键。
In the context of data flow, an analyst identifies object types, and thinks about events that change the state of objects.
在数据流上下文中,分析师识别对象类型,并思考改变对象状态的事件。
When the synchronization object is used in one of the wait functions, the wait function blocks the calling thread until the state of the synchronized object is set to signaled.
当在一个等待函数中使用同步对象时,等待函数就会阻塞调用线程,直到同步对象的状态被设置为有信号为止。
Aspects also have the ability to modify object state and behavior in new, more fine-grained ways, raising worries about maintaining system integrity, robustness, and even comprehension.
方面还有用新的、更精细的方式修改对象状态和行为的能力,从而引起了对维护系统完整性、健壮性、甚至整体理解的担心。
This sample application illustrates object caching and the exploitation of JSR168 state handling concepts, as discussed in Object caching and state handling.
此示例应用程序按照对象缓存与状态处理所述演示对象缓存和JSR168 状态处理概念的应用。
For technologists, the same series of events reflects the change in state for object representing the main business entity.
对技术人员来说,同一事件序列反映了代表业务实体对象的状态变化。
The state data that an object must hold to implement those operations is usually irrelevant this early in the design process.
对象实现这些操作所必须保存的状态数据在设计过程的早期通常是不相关的。
In the absence of synchronization, it is possible to see an up-to-date value for an object reference that was written by another thread and still see stale values for that object's state.
在缺乏同步的情况下,可能会遇到某个对象引用的更新值(由另一个线程写入)和该对象状态的旧值同时存在。
Then, when the first object "emits" the signal (due to an internal change in state), the second object "catches" this change and reacts appopriately.
然后,当第一个对象“发出”信号(由于状态的内部变化)时,第二个对象“捕获”该变化并作出适当的反应。
Object nodes in activity diagrams along with "State" attributes.
活动图表中与“状态”属性一道的Object节点。
An object, as you already know from the discussion in the Karel book, is a conceptually integrated entity that encapsulates both state and behavior.
从karel书中的讨论中你已经知道,一个对象是概念性的综合性实体,用来封装具体的状态或是行为。
To use the state machine, I can instantiate a Nonprofit object and call methods on it for each event, followed by a !, as in Listing 2
要使用状态机,可以实例化一个Nonprofit对象并在其上为每个事件调用方法,后跟一个 !
In the BankAccount example, the allowed values for an account balance, part of the account object's "state," are integral to the account object, not orthogonal to it.
在BankAccount示例中,帐户余额允许的值,即帐户对象“状态”的一部分,是帐户对象的一个有机部分,而不是与帐户对象的正交。
In the auto reset event, the state of the object remains signaled until a single waiting thread is released.
在自动重置事件(auto reset event)中,对象的状态会一直维持为有信号状态,直到单个正在等待的线程被释放为止。
The FacesContext object contains all the state information JSF needs to manage the GUI component's state for the current request in the current session.
FacesContext对象包含了JSF用来管理当前会话中当前请求的GUI组件状态所需要的所有状态信息。
In the manual reset event, the state of the object remains signaled until explicitly reset using the ResetEvent function.
在手工重置事件(manual reset event)中,对象的状态会一直维持为有信号状态,直到使用ResetEvent函数显式地重新设置它为止。
Recapping the action, you validated the ZIP code, created the XML request to call the web service, parsed the XML response, and put the city and state fields in the @address object.
现在简要重述一下刚才的操作,您验证了邮政区码,创建了调用Webservices 的XML请求,解析了 XML响应并将城市和州字段放入了 @address对象。
The only use for this ready state in almost-real-world Ajax programming is if you make multiple requests using the same XMLHttpRequest object across multiple functions.
在大部分Ajax编程的真实情况中,这种就绪状态的唯一用法就是使用相同的XMLHttpRequest对象在多个函数之间生成多个请求。
After all, no matter how many times an entity object is updated in memory during an atomic Web flow, the SQL flush happening at the end of the flow only sees the final state of the entity instance.
毕竟,无论在原子we b流期间,在内存中对实体对象更新了多少次,流结尾处发生的SQL刷新只能看到实体实例的最后状态。
Using the ADMIN_COPY_SCHEMA procedure with the COPYNO option places the table Spaces, in which the target database object resides, in backup pending state.
使用带COPYNO选项的ADMIN_COPY_SCHEMA过程会使目标数据库对象所在的表空间进入backuppending状态。
If the portlet window state is currently in maximized state, initialize the various change URLs (back, configure, edit, and minimize) within the PortletInfo object.
如果当前Portlet窗口状态是最大化状态,请初始化portletinfo对象中的各种更改url(后退、配置、编辑和最小化)。
If the portlet window state is currently in maximized state, initialize the various change URLs (back, configure, edit, and minimize) within the PortletInfo object.
如果当前Portlet窗口状态是最大化状态,请初始化portletinfo对象中的各种更改url(后退、配置、编辑和最小化)。
应用推荐