This principle asserts that the designer of a class and the user of that class share assumptions about the class implementation.
这个原理声称一个类的设计者和这个类的使用者,共同分享关于类的实现的假设。
The test class contains two tests: one to authenticate a valid user and another to authenticate an invalid user.
这个测试类包含两个测试:一个是鉴定一个无效用户,另一个是鉴定一个有效的用户。
This means you can catch the user event in a class that you know works and then pass it through for processing to the class you're developing.
这意味着你可以捕捉类里的用户事件,因为你知道这个类是怎么工作的;然后再将其传递到类里进行处理。
For example, suppose that you have a class that stores user information and service information in two separate hash tables, as shown in Listing 3.
例如,假设您有一个类,它用两个单独的散列表来存储用户信息和服务信息,如清单3所示。
It USES a rule parameter to declare and describe a field where the user can type a qualified class name.
它使用一个规则参数来声明和描述一个用户可以键入一个合格的类名称的域。
A fallback on a user class causes the compiler to assume the current namespace.
用户类上的后退会让编译器假设使用当前的名称空间。
It will take a certain level of technical aptitude, I'm guessing to understand the two environments (depending on how it's implemented), but for a certain class of business user, this could be useful.
我猜,要理解这两个环境(取决于它如何实现)的好处,需要一定水平的技术能力,但对于某些类别的商业用户,这可能是有用的。
This class represents a user profile that includes properties such as Email, CreationDate, PasswordQuestion, and so on.
这个类代表了一个用户的简介,包括的属性有电子邮件,创建日期,密码问题等等。
For the classifiers, I applied the stereotypes, and indicating they represent an actor, a controller class, or a user interface (UI) class, respectively.
对于分类器,我应用原型、和,它们分别表示参与者、控制器类或用户界面(UI)类。
A simple test class for the polymorphic special Facebook user is presented below.
下面给出一个多态Facebook特殊用户的简单测试类。
This sample provider class USES a simple directory structure to manage user, group, and transaction authorization.
本文的示例provider类使用一个简单的目录结构来管理用户、组和事务授权。
In this example we created a Statistics class to show the user how often he or she added, modified, or deleted a bookmark.
在本例中,我们创建了一个statistics类,用于向用户展示他或她多长时间添加、修改或删除一次书签。
Listing 6 a test class for a special Facebook user.
清单6一个特殊的Facebook用户的测试类。
Note that you added an Action and also mentioned a class that would be invoked when a user clicks the menu item.
请注意,您添加了一项Action,并且还提供了当用户单击该菜单项时应该调用的类。
A user class that abstracts the user in the application.
一个在这个应用软件中选取用户的user类。
Please note that, if a user is a member of multiple recipient groups, the GroupResolver class enlists him only once.
请注意,如果用户是多个收件人群组中的一员,那么groupresolver类只列出该用户一次。
The User class now has a field named entries.
user类具有一个名为entries的字段。
The property value designates a fully qualified class name of a user implementation of the org.apache.openjpa.slice.DistributionPolicy interface.
这个属性值指定or g. apache . openjpa . slice . DistributionPolicy接口的一个用户实现的全限定类名。
The j2edlimit command is used to associate a Quota limit Class to a user or group.
使用j2edlimit命令把QuotalimitClass与用户或组关联起来。
The DockMenu class lets a user attach a menu to the Dock menu in Mac applications Here's the example of how to use the DockMenu class.
DockMenu类允许用户把菜单附着到Mac应用程序的DockMenu中。
A UML class diagram representing the User Goals as UserGoal prototyped classes, each having a set of measure prototyped measure attributes.
UM l类图将用户目标表示为usergoal原型化类,每个都拥有一组Measure原型的度量属性。
For example, we may introduce a class of user called a BondedPersonalAssistant, for those PAs that have some kind of liability insurance.
例如,我们可以为那些拥有某类责任保险的PA引入一个名为BondedPersonalAssistant的user类。
Instead of creating a controller or action class, you create a page, place components on it, and define how each component reacts to user input.
与构建控制器或动作类相反,您创建的是一个页面,在这个页面上放置组件,然后定义每个组件如何响应用户输入。
Role-based authorization provides access to resources based on the fact that the user is a member of some class of users.
基于角色的授权基于用户是某类用户的成员这一事实提供对资源的访问。
This problem is actually a special case of a much larger class of problems related to user input validation.
这个问题实际上是与用户输入验证相关的一类更大问题的一个特例。
Ideally, the user can specify a specific interest or a group membership and automatically see new information customized for that class of user.
在理想情况下,用户可以指定他感兴趣的范围或者他所属的玩家群体,然后就会自动地看到为这类用户定制的新信息。
This forces us to think about how to build applications for devices where the user experience is a first-class constraint on your design.
这就让我们把注意力集中在如何在确保一流的用户体验的前提下,为设备创建应用程序。
This class is used to create a dummy user for the mock container, which is automatically validated.
该类用于为模拟容器创建一个可自动验证的虚拟用户。
For example, presenting at a user group meeting or attending a customer training class may lead to a customer trip.
例如,在用户组会议上演讲或出席客户培训课程可能导致客户的来访。
For example, presenting at a user group meeting or attending a customer training class may lead to a customer trip.
例如,在用户组会议上演讲或出席客户培训课程可能导致客户的来访。
应用推荐