Use the static methods in the class and you’re ready to go.
你只需使用类中的静态方法就可以完成想要的功能。
The class provides a series of static and abstract methods to work with one of the two sets of preferences: one for user preferences and one for system preferences.
这个类提供了一系列静态和抽象方法来操作两套首选项(其中一套是用户首选项,另一套是系统首选项)中的其中一套。
The same prefix can reference several different static methods in the same class.
在同一个类中,相同的前缀可以引用多个不同的静态方法。
Support for importing constants: This facility allows static methods and fields to be imported, avoiding the need to use fully qualified class names when accessing static members.
支持导入常量:这个特性使静态方法和字段能够被导入,这样在访问静态成员时就不必使用完全限定的类名。
Try not to lump diverse functionality into a class by creating a dumping ground for unrelated static methods.
不要尝试为不相关的静态方法创建一个转储平台,来将各种不同的功能组合到一个类中。
To add new methods to a particular class of type t, it only needs to define static methods that accept type t as the first parameter.
要向类型为t的特定类添加新方法,只需定义一个静态方法,它接受类型T作为第一个参数。
PHP V5.3 has added several features to enhance the support for static members and methods within a class.
PHPV5.3提供一些特性来增强对类的静态成员和方法的支持。
Also, all the generated interfaces have a factory class that contains static methods such as.
此外,所有生成的接口都有一个包含静态方法的工厂类,比如。
The SWTHelper class has static methods that help identify the specific view instance you work with.
SWTHelper类拥有一些静态方法,可帮助您识别所处理的特定视图实例。
XT allows callbacks to static methods of any class in the classpath at the time of XSL processing.
XT允许回调在XSL处理期间访问处于classpath中的任何类的静态方法。
We'll create the MeasurementManager class with some static methods for getting and returning reusable Measurement instances.
我们将创建measurementmanager类,它带有一些静态方法,用于获取和返回可重用的Measurement实例。
The arrays class provides a series of static utility methods for working with arrays, those indexed data structures that are of a fixed size.
arrays类提供了一系列处理数组的静态工具方法,这些索引的数据结构的大小是固定的。
You use a static class that has methods that run before and after the XmlObject changes, as shown in Listing 3.
我们使用一个静态类,其中包含在XmlObject更改之前和之后运行的方法,见清单3。
The RepositoryWrapper class has two static methods that return the managed bean instance.
Repository wrapper类有两个静态方法,可以返回受管bean实例。
Custom validators can contain detailed logic to examine the elements of a topology through the API, such as the static methods of the ValidatorUtils class.
定制确认器可以包含具体的逻辑,以通过API检查拓扑的元素,例如validatorutils类的静态方法。
The MBeanDescriptorUtil class provides a pair of static read methods that load and save the XML document model.
mbeandescriptorutil类提供了两个静态的read方法,它装载并保存这个XML文档模型。
In most cases you can refer to one of the static methods of the ValidatorUtils class and need not muddle through the generated EMF API of the unit itself.
在大多数情况下,您可以应用ValidatorUtils类的一个静态方法,并不需要混合单元所生成的EMFAPI。
You can also search through the PDOM using the static methods provided in the DOMSearchUtil class.
也可以使用在domsearchutil类中提供的静态方法来搜索PDOM。
If you wanted to change the code so that you could change the ResourceBundle dynamically, you would need to change the Messages class so that its fields and methods weren't static.
如果您想更改代码,以便动态地改变ResourceBundle,那么需要修改messages类,使它的字段和方法不是静态的。
I've made the number a member variable within the Classifier2 class, which allows me to avoid passing it around as a parameter to a bunch of static methods.
我把数字变成是Classifier 2类中的成员变量,这将允许我避免将其作为参数传递给一大堆静态方法。
This article discusses two potential areas that can provide powerful extension points for Rational Performance Tester: object extension via a super class, and reusable utilities via static methods.
本文讨论了两个潜在的区域,该区域为RationalPerformance Tester提供了强大的扩展点:通过一个超类来进行对象扩展,以及通过静态的方法来使用可再用设施。
Figure 4 shows a static method Sequence diagram for a method in a Swing class, and you can see all of the other methods that this method calls on the same class and other classes.
图4展示了对于swing类中的方法的静态方法时序图,您可以看到该方法所调用的同一个类和其他类中的其他方法。
This class has two methods: the loadDictionary static method and the getMeanings static method.
这个类有两个方法:loadDictionary静态方法和getMeanings 静态方法。
You can use the static methods in the org.apache.velocity.app.Velocity class to initialize velocity and load a template file.
您可以在or g .apache .velocity . app . Velocity类中使用静态方法初始化velocity并加载一个模板文件。
The static methods in the Factory class will then call the instance methods of your factory instance.
然后,Factory类中的静态方法会调用您工厂实例的实例方法。
An application class can extend this class directly or can use one of the static methods to create an instance using a ResponseBuilder.
应用中的类可以直接继承Response类,也可以使用其静态方法来通过ResponseBuilder创建实例。
The BOSession class offers static factory methods to create an instance of this class which encapsulates a Notes Session instance used to access the Notes database.
bosession类提供创建该类的实例的静态工厂方法,封装用来访问Notes数据库的NotesSession实例。
RewriterUtils is a helper class that provides a couple of static methods used by both the URL rewriting HTTP module and HTTP handler.
RewriterUtils是一个helper类,此类将提供一对由URL重写HTTP模块和 HTTP处理程序使用的静态方法。
For bindings that work with interfaces or unmodifiable classes, JiBX instead adds the necessary marshalling/unmarshalling code to a special helper class (called the "munge" class) as static methods.
如果绑定要处理接口或不可修改的类,JiBX 转而把必要的编排/反编排代码以static 方法的形式,添加到特殊的助手类(叫作“munge”类)。
The inner class code calls these static methods whenever it needs to access the mValue field or invoke the doStuff method in the outer class.
内部类会在外部类中任何需要访问mValue字段或调用doStuff方法的地方调用这些静态方法。
应用推荐