What if you didn't want to create an extra class at all for your adapter?
如果您完全不愿意为适配器创建额外的类,那么应该怎么办呢?
For starters, we shouldn't spend all that extra class time only teaching academics.
首先,我们不应该把所有增加的时间都用来上学术课。
After all, we've saved the effort of having to define an extra class just for empty lists.
毕竟,我们不必仅仅为了空链表而去定义一个额外的类。
The compiler will generate an extra class, the table class, with the information required by XPathHandler.
编译器将用XPathHandler所需的信息生成一个额外的类,即table类。
Not only does the social activity provide me with a stage to learn more extra class knowledge, but also it does broaden my horizon.
社会活动不仅给我提供一个舞台去学习更多额外的类知识,也开阔我的视野。
Their extra class is the strength they have shown over the years, they have individual players who have great speed, especially in one-to-one situations.
勒夫说:“荷兰非常熟悉他们自己的打法,他们非常明确要做什么,很难去击败他们。 他们额外的就是过去几年展示的力量,他们单个的球员有很强的速度优势,尤其是一对一的时候。”
After we came back from Huang mountain, I had extra class for ten days to set up the foundation of high school study, which I think it is very necessary.
从黄山回来今后,本人在外上了10余天地跟尾课程,是为了为高中地进修打下根底,本人感觉很有需要。
Some people bring along a lot of accessories like extra lenses, but there's really no need for this class.
有些人会带很多配件,比如额外的镜片,但对于这门课来说真的没有必要。
It gives you an extra purpose in class.
这让你在课堂上有了额外的目的。
But, when you compare it to the time you would have spent in class learning material that you've already mastered, you'll be glad you took a few extra hours to get credit for what you already know.
但是,和你浪费在你本来已经掌握却还要在课堂学习的时间相比,你会庆幸自己为已经掌握的东西申请学分后还可以得到一点额外的空闲时间。
Here is the modified class diagram capturing the extra information you provided to use for comparison purposes from those that I will recommend below.
下面是修改后的类图,用到了您出于比较目的提供的一些额外信息,就此我将提出如下建议。
The size of a derived class is the size of the base class plus the additional members defined by a derived instance (and any extra space required for alignment, as discussed earlier).
派生类的大小等于基类加上派生实例定义的其他成员(以及对齐所必需的任何额外空间 —如前所述)的大小。
When you are using JAR files instead of class files, you will need to take some extra steps so that DB2 recognizes the JAR file as the container for your stored procedure classes.
如果使用JAR文件而不是类文件,就需要采取一些额外的步骤,使DB 2认识到JAR文件是存储过程类的容器。
Design by contract avoids extra code and improves performance, as long as all clients of a class abide by the contract.
契约式设计避免了额外的编码并提高了性能,只要所有的客户都遵守契约。
Listing 6 is the extended dwr.xml config file that includes the extra config info for remoting the Cart class.
清单6是扩展的dwr . xml配置文件,包含cart类进行远程所需要的额外配置。
If the decision is between a seventh grader taking an extra math class to make him or her ready for algebra or taking an art elective, I would be hard-pressed to not pick the extra math class.
如果我是一个7年级生,要我在修一门额外的数学课程来为日后的代数课程做准备,和在修一门艺术课程里面做选择,那么我会感到巨大的压力如果我不选前者。
You also have to make sure that the Access class knows about the new class, so we will add extra functionality there as well.
此外,你还要保证Access类知道这个新类,所以我们也要对Access类增加额外的功能。
Notice that only the tag with the portlet-window-body class defines extra markup with certain class attribute values to handle the different navigation states. These are the class attribute values.
注意只有portlet - window -body的标签会定义带有特定类属性值的额外标记,以处理不同的导航状态。
A strongly typed DataSet is actually a class that inherits from the System.Data.DataSet class and adds a few extra features of its own.
强类型数据集实际上是从System . Data . dataset类中继承的类,并且添加了一些自己的额外功能。
The views should be declared based on class name, so an object of class "a: : Beta" could have a different dynamic view from "a: : Gamma" without any extra work on the programmer's part.
视图的声明应该基于类名,所以类“A:Beta”的一个对象可以有与“A:Gamma”不同的动态视图,而不需要程序员付出额外的工作。
In order for OSGi to know which class is the activator, we need to add two extra items to the manifest.
为了让osgi知道哪个类是activator,我们需要在manifest中加入额外的信息项。
One extra utility class implements a bit of fuzziness in the checking to get HTML documents to pass (even without having all the closing tags XML requires).
一个附加的实用程序类在进行检查时会产生一些小麻烦,它会让HTML文档通过检查(即使那些文档没有xml必需的结束标记)。
Punishment included extra duty, loss of pay and a reduction in rank from a private first class to private 1.
惩罚包括了额外的执勤,并使他失去工资,降低军衔,从上等兵降至二等兵。
Martin Fowler: No a dictionary isn't as explicit, but if you add a field to the class and pump an extra value into the dictionary, it doesn't matter.
MartinFowler:的确,字典不是“明确的”。不过,如果你往类里添加一个字段,并把这个多出来的值放到字典里的话,不会有什么问题。
This provides an extra benefit of improving your design by introducing more abstractions and programming to them, rather than the specific class.
通过引入更多的抽象并对其编程,除了提供特别的类以外,这还提供了提高设计的额外收益。
Middle-class families do not take their children out of school to work in the fields or in a sweatshop because they do not need the tiny extra income a child’s labour brings in.
中产阶级的家庭不会让孩子辍学去到农田里干活或到血汗工作打工,因为他们不需要孩子挣的那点额外收入。
Write Simply. I took a two-day class in business writing that taught me how to write direct sentences and to avoid extra words.
我还上过一个商务写作课程,它其实就教你怎么写简单句,如何不用多余的词。
Yesterday, when I walked my children to school, I had a few extra minutes so I accompanied my daughter to her second grade class.
昨天我把孩子们送到学校后还有些时间于是就陪着女儿送她去二年级。
M: as long as we arrive one hour earlier, I don't mind paying a little extra. Then give me two second-class tickets on the express, PLS.
M:如果能早一个小时到达,我不介意多付一些钱,那么我要两张二等快车票。
Class 4: Now we have a balanced HDRI, we start to add some extra lights to integrate our character in the background.
课程4:现在我们有一个平衡的HDRI,我们开始将我们的性格背景中添加一些额外的灯光。
应用推荐