Using the push method of the Array class, you can add new objects to your data provider.
使用Array类的push方法可以将新对象添加到数据提供程序中。
Such operations, while quite useful in many applications, are best collected into a separate array class.
这些操作在很多应用中很有用,在一个单独的array类中提供显然最好。
How do I know that it's the Array class whose sort method is called? I wrote another expression to make sure?
我怎样能知道调用的是Array类的sort方法呢?
Another useful addition is the SplFixedArray class, which, as the name implies, is a fixed-size array implementation.
另一个有用的补充是splfixedarray类,顾名思义,这是一个固定大小的数组实现。
Finally, JAMA is not a general-purpose array class. Instead, it focuses on the principle mathematical functionality required to do numerical linear algebra.
最后,jama也不是一个通用的数组类,相反,它主要关注于与矩阵数值计算相关的数学运算。
By simply copying the array reference instead of cloning it, both the message and the class that produces it hold a reference to the master copy of the previous bids array.
通过简单地复制而不是克隆数组引用,消息和产生消息的类都保存了前一投标数组的主副本的一个引用。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
Display a simple variable, iterate over an array or associative array, and display the members of a class.
显示简单变量,迭代整个数组或关联数组,以及显示类的成员。
Select the UML class attribute that has to be modeled as an array.
选择要被建模成为一个数组的UM l类属性。
The workaround to this problem is to use a custom class that ACTS as a container for the array but does not extend INOUT_HOLDER.
这个问题的应对方法是使用一个用作数组容器但是没有扩展INOUT _ HOLDER的自定义类。
To access the Content store object that is stored in the array as the class expected to be returned, the object must be cast to its actual class.
要访问以类的形式存储在数组中的内容库对象,对象必须转换为它自己的类。
It creates an array of the SWT class StyleRange that represent these ranges.
它创建了表示这些范围的swt类stylerange的一个数组。
The XMLWebApplicationContext class stores all beans in an array.
xmlwebapplicationcontext类将所有bean保存在一个数组中。
Also, unlike the earlier examples, a class array in this scenario is included as an extra parameter to the intercept method.
此外,不同于先前的示例,此场景中的类数组作为附加参数被包含到了intercept方法中。
The transform method can then implement all manner of modifications, and it returns a new byte array containing the bytecode of the modified (or instrumented) class.
然后transform方法实现各种修改,并返回一个包含修改的(或插装的)类的字节码的新字节数组。
I'm not completely happy with this design, however, because I've had to make the items array accessible to the DBConfiguration class.
我并不十分喜欢此设计,但是,由于必须让dbconfiguration类能够访问项阵列而选用了此设计。
Use the MessageDigest class to hash the byte array, dealing with the appropriate exceptions, as shown in Listing 12 below.
使用MessageDigest类对字节数组进行哈希,处理相关异常,如清单12所示。
Within the setUp method, you instantiate an object array with the actual values the Collaborator class 'constructor needs.
在setUp方法内,用collaborator类的构造方法所需的实际值实例化对象数组。
The GenericTemplate instance holds the basic type parameter information for the class, along with the array of fields defined for the class.
GenericTemplate实例包含类的基本类型参数信息,还有为类定义的字段的数组。
The sample code USES a utility class EtagComputeUtils to generate a byte array representation of an object and to handle the MD 5 digest logic.
下面的例子使用了一个工具类etagcomputeutils来产生对象所对应的字节数组,并处理MD5摘要逻辑。
The ClassTransformer's single method - transform - is passed the class to be redefined and a byte array containing the class's bytecode.
ClassTransformer的单个方法—transform—被传入要重定义的类和包含类的字节码的字节数组。
I'd rather have the Configuration class continue to maintain the items array completely so that if I add other descendants, those classes won't need to know how to maintain the items array.
我希望继续由configuration类来完全维护项阵列,以便在添加其他子类后,那些类将不需要知道如何维护项阵列。
Add an attribute (attribute1) of type Integer array to this class, and set the default value for it in the Properties TAB for the attribute as shown in Figure 10.
添加一个Integer类型的属性(attribute1)到这个类,并为这个属性在Properties页签上设定它的默认值,如图10所示。
For an example of the creative use of closures, check out Pawel Turlejski's utility class, which provides Groovy-like array methods (see Resources).
关于closures的创造性使用的例子是,检查Pawel Turlejski的实用类,它提供与Groovy类似的阵列方法(见参加资料)。
Interfaces — The value is an array of interface or class objects that should be exposed as services by this component.
Interfaces——此值是应该由其组件作为服务公开的接口或类对象的值。
For an example, see the.net Framework documentation for the CryptoStream class, which shows you how to encrypt a byte array from an incoming FileStream object.
有关示例,请参阅cryptostream类的. NETFramework文档,它说明了如何加密来自传入的FileStream对象的字节数组。
The code begins by using the Zend_Config_Ini class to create an array of credentials from an.ini file.
这段代码首先使用zend_config_ini类从一个.ini文件创建一组证书。
The first thing I've done inside the run method is to create two instances of the Alternative class, each with a different array of Guards objects.
在run方法中,要做的第一件事是创建alternative类的两个实例,每个都有一组不同的Guard对象。
As you can see from this code, the ContentProvider class expects an array of org.eclipse.wst.server.core.IServer elements to be set as an input.
如您从此代码中看到的,contentprovider类期望将一列org . eclipse . wst . server . core . IServer要素设置为输入。
As you can see from this code, the ContentProvider class expects an array of org.eclipse.wst.server.core.IServer elements to be set as an input.
如您从此代码中看到的,contentprovider类期望将一列org . eclipse . wst . server . core . IServer要素设置为输入。
应用推荐