The auto-loader is so handy that rather than coding functions, you can create methods in a appropriately named utility class and put your constants in immutable classes.

  • 自动装载器非常方便,所以可以不编写函数,而是在适当命名的实用程序类中创建方法并把常量放在不可变的类中。
  • 来源:互联网摘选更新时间:2026-07-14 04:12:52

  • 重点词汇
  • namedadj.指定的;
  • methodsn.method的复数:方法;方法( method的名词复数 );方法论;教学法;分类法;
  • rather than而不是;而不
  • handyadj.容易做的;便利;手巧的;
  • andconj. 和;与;而且;于是;然后
  • codingn.译码;
  • aart. 一(个);每一(个);任一(个),用于辅音音素开头的单词前
  • functionsn.功能( function的名词复数 );依赖别事物的事物;函数;官能;
  • 相关例句
1、

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必需的结束标记)。

互联网摘选

2、

Note that this code calls the template twice, and also that it uses a utility class to create the file in the workspace with the result of the template.

请注意这个代码调用了两次模版,并且它使用模版中的一个实用工具类在工作台中建立了一个文件。

互联网摘选

3、

The sample code uses a utility class EtagComputeUtils to generate a byte array representation of an object and to handle the MD5 digest logic.

下面的例子使用了一个工具类EtagComputeUtils来产生对象所对应的字节数组,并处理MD5摘要逻辑。

互联网摘选

4、

The CustomerService bean is a utility class that implements methods to access the database for adding, updating, removing, and retrieving customer information.

CustomerService bean是个工具类,它实现了访问数据库以增加、更新、删除和查询用户信息的方法。

互联网摘选

5、

I mentioned earlier that the TypeDescriptor class is a utility class that is used to obtain information about a type's properties, attributes, and events.

我在前面提到过,TypeDescriptor类是一个实用性的类,它用于获得有关类型的属性、特性和事件的信息。

互联网摘选

6、

I have included a utility class called EmailSubscriber in the sample code for this article, which abstracts some of the complexity.

我已经将名为EmailSubscriber的实用工具类包括在本文的示例代码中,该示例代码摘要了某些复杂的内容。

互联网摘选

7、

The custom mediation primitive uses a Java utility class called PolicyQueryTest, which encapsulates the registry proxy code explained above

该自定义中介原语使用一个名为PolicyQueryTest的Java实用工具类,其中封装了上面介绍的注册中心代理代码

互联网摘选

8、

These are primarily interfaces for parsing and building Document and Element objects and a utility class that makes reading and writing Document streams easier.

它们主要是解析和构建Document和Element对象的接口,一个工具类使读和写Document流更容易。

互联网摘选

9、

Each service utility class has it own implementation, since the URN name and method name each needs to invoke will be unique.

因为每个服务实用程序类所需调用的URN名和方法名都将是唯一的,所以它们都有其自己的实现。

互联网摘选

10、

Given the length and breadth of the concepts discussed, it isn't practical to deal with every feature for each utility class.

鉴于所讨论的概念的范围和广度,论及每个实用工具类的每个功能是不切实际的。

互联网摘选

11、

The service utility class is responsible for dynamically creating a SOAP request and getting the response back from the SOAP server.

服务实用程序负责动态创建SOAP请求,并从SOAP服务器取回响应。

互联网摘选

12、

JNDIREFNAMES is a utility class that holds the values of various types of references.

JNDIREFNAMES是一个实用程序类,它拥有引用的各种类型的值。

互联网摘选

13、

A nice utility class for quick manipulations.

这是一个很好的工具类,用于快速操作。

互联网摘选

14、

The utility class MetaPropertyElementBuilder is used to build a

实用类MetaPropertyElementBuilder用于在XML代码中构建一个

互联网摘选

15、

Therefore, you still need a utility class if you want to add application-specific information to the events.

因此,如果您想将应用程序的特定信息添加到事件中那么仍旧需要工具类。

互联网摘选

16、

It is expedient to create a utility class for these kinds of helper methods.

它有利于为这些种类的助手程序创建有效的类。

互联网摘选

17、

With the form taken care of, we need a utility class to create and sign policy documents.

为了保护这个表单,我们需要使用一个工具类来创建策略文档并签名。

互联网摘选

18、

This is a small physics utility class used to apply a continous force to an object.

这个是一个小的物理工具类,用于应用一个恒力给物体。

互联网摘选

19、

Create data classes and a utility class for getting an EntityManager instance.

创建数据类和一个实用类来获取EntityManager实例。

互联网摘选

20、

You also need a utility class for creating appropriate URLs in your feed.

您还需要使用一个实用类在提要中创建相应的URL。

互联网摘选

  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈