Could you tell us about one of your favorite classes and a memorable assignment from that class?
你能告诉我们一个你最喜欢的课程和那个课堂上一个难忘的作业吗?
You can put all of them in a single class or interface (to centralize all of your message definitions in a single location), or you can place these constants in the classes where they are used.
可以将它们放在单独的类或接口中(将所有消息定义集中到一个地点),也可以放在使用到它们的类中。
By promoting our SQD messages to operations on the receiving classes, we have a new version of the class diagram, as shown in Figure 10.
将我们的序列图消息提升至接受类的操作,我们就得到类图的一个新的版本,如图10所示。
When you're writing code, think about the contract — the particular bit you're writing will expose to its client, whether it's a method, a class, or a group of interacting classes.
当编写代码时,应考虑到这个契约——您将要编写的特定内容都将暴露给它的客户机,无论此内容是一个方法、一个类,还是一个与类交互的组。
The school is testing what it calls an "ethics module" -not an entire class, but a synthesis of the ethics taught in other business classes.
学校正在实验一个“道德模型”——不是在全部的课程里,而是在其他商业课程里面作为商业道德综合理论一部分。
For example, a class loader could first load a class explicitly and then load all of its referenced classes implicitly.
例如,类装入器可能先显式地装入一个类,然后再隐式地装入它引用的所有类。
It can be used to access fields and methods in instances of a class, giving a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
可用它来访问类实例中的字段和方法,从而提供了一种在运行时将类动态地挂钩在一起,却无需类之间有任何源代码链接的方法。
Alternatively, each application can be deployed with a copy of the channel exit classes bundled inside it, either in the form of a JAR file, or as one or more class files.
第二种方法是,每个应用程序可以使用其内部绑定的通道出口类副本进行部署部署为JAR或一个或多个其他类文件。
Sequence diagrams can be used to describe the USES of a class or interacting group of classes, thus describing the protocols required for interaction.
序列图可用于描述类或一组相互作用的类的使用,因而描述了交互所需的协议。
The complete set of class loaders make up a tree-structured hierarchy with different types of classes loaded at each level.
整个类装入器集合形成了树状结构的层次结构,在其每个层次上都可装入不同类型的类。
Nor does a class diagram with implementation classes necessarily raise the level of abstraction.
具有实现类的类图不是必定提高抽象层次。
A class loader namespace is a combination of a class loader and all the classes that it has loaded.
类装入器的命名空间是类装入器和它装入的所有类的组合。
The instances of classes inside a class are known as parts.
类之中类的实例就是所谓的部件。
Classes are often loaded through a combination of explicit and implicit class loading.
类的装入通常组合了显式和隐式类装入。
A UML class diagram for those classes participating in the use case on which we are focusing (sometimes called a View of participating classes class diagram.), and.
包括我们所关注的用例中出现的所有类的一个UM L类图(有时也叫做合作类视图),和。
Although this might seem harmless, imagine what would happen if internal were a base class for many of your internal classes.
尽管这可能是有害的,但是想象一下如果Internal是您内部类的基类时会发生什么呢。
Each of the helper classes contains a constructor class and a usage class.
每一个帮助类都包括了一个构造器类和一个使用类。
Also, many times member variables of a class that point to other classes simply need to be set to null at the appropriate time.
此外,您常常需要在适当的时候将指向其他类的类成员变量设置为null。
Figure 12 is a UML class diagram of the AcronymListEditor class depicting its relationship to the Eclipse parent classes as well as a validator class that can validate input.
图12是AcronymListEditor类的一个UM l类图,描绘了该类与Eclipse父类以及一个可以验证输入的检验器类之间的关系。
UDDI4J v2 has improved the usability of these classes by adding a set of collection class methods to these classes.
UDDI4 J v 2通过向这些类添加一组集合类方法改进了这些类的可用性。
To find classes that have design challenges, look for high combinations of Numbers (implying a complex class used by many other classes).
要发现有设计挑战的类,可以看看两个数字都比较高的组合(即被很多其他类使用的复杂的类)。
XDoclet is a tool that lets you write only a single class for EJB for database access instead of a minimum of four classes.
XDoclet是一个非常有用的工具,使用这个工具您只需要为访问数据库的EJB编写一个类即可,而不用编写4个类。
The usual programming model with JUnit version 3.8 is to create a test class that extends one of the TestCase classes provided by JUnit.
JUnit版本3.8的常见编程模型是创建测试类,它扩展了JUnit提供的一个testcase类。
Figure 2 illustrates a situation where serialization affects the garbage collection (GC) of classes and a class loader in an unexpected way.
图2演示了一个场景,在这个场景中,序列化以一种意料之外的方式影响了类的垃圾收集(GC)。
A session Facade pattern generates a session bean class to serve as the front end of a set of entity bean classes that model business information.
sessionFacade模式产生一个sessionbean类作为针对业务信息建模的bean类实体前端。
Create a service class, a class that extends the ActionWebService: : Base class, for each of the API classes.
给每个api类都创建一个扩展actionwebservice:base类的服务类。
These sequences form the protocols for interacting with such a class or set of classes.
这些序列组成了用于与这样的某个类或一组类交互的协议。
A work around is to make a copy of your classes directory and add it as the last class folder.
一种变通方法是复制你的类目录,并将它作为最后的类文件夹加入。
Another use of abstract classes is to create a single base class for multiple derived classes in which that base class should never be instantiated.
抽象类的另一个用途是为多个派生类创建一个基类,在这些派生类中,基类决不会被实例化。
It can be used to access fields and methods in instances of a class, providing a way of dynamically hooking together classes at runtime without the need for any source code links between the classes.
它能用于访问类实例中的字段和方法,从而提供了不需要类之间的任何源代码链接就能在运行时将类动态地挂钩在一起的方法。
应用推荐