指定静态数组以包含列信息。
获取已包装类型中包含的静态数组元素。
一个静态的公共函数,它返回了一个私有的静态数组的引用。
A public static method returns a reference to an array that is part of the static state of the class.
实际的应用程序会从数据库中获得模型的数据,但为了简便起见,OrderBean将由一个静态数组初始化。
A real application would retrieve the model's data from a database, but for simplicity, OrderBean is initialized from a static array.
有了得到允许的在一个数组中定义的形参,应用程序对参数处理代码的调用就可以像对一个静态方法的单个调用一样简单。
With the allowed parameters defined in an array, the call from the application program to the argument processing code can be kept as simple as a single call to a static method.
arrays类提供了一系列处理数组的静态工具方法,这些索引的数据结构的大小是固定的。
The arrays class provides a series of static utility methods for working with arrays, those indexed data structures that are of a fixed size.
现在,要将这些结果转换成一个静态初始化的数组,我们需要删除这个程序的前半部分,并将其替换成手工计算出来的结果,如下所示
Now, to convert this to a statically initialized array, you would remove the first part of the program and replace it with something like this, calculated by hand
静态声明的数组的边界检查。
每次通知shell被打开,我们在静态的shell数组中保留一个引用。
Every time a notification shell is opened, we keep a reference of it in a static array of shells.
在某些情况下,可能需要返回一个String数组(比如在定义无效文字时),但是这些可以静态地定义或者在方法中定义。
In some cases, you may need to return an array of String (such as when defining invalid literals), but these can be defined statically or right inside of the method.
将创建存储动态和静态图像列表的两个数组,然后创建Tk画布以提供动态和静态图像的背景。
Two arrays are created that store a list of the active and inactive images. A Tk canvas is then created to provide a background for the inactive and active images.
的业务类型和服务列表相当静态的,我通常使用一个数组而不是一个数据库表中。
The list of business types and services is fairly static, something I would typically use an array for as opposed to a database table.
本文提出了一个静态检测数组下标超界的方法。
In this paper, a static method is presented, which can detect the phenomena of array subscripts crossing over bounds.
C-静态的结构体数组与字符串不正确初始化的成员吗?
C - Static array of structs with string member not properly initialised?
这个类提供的基本上都是静态方法,用户进行数组操作。
This class contains various methods for manipulating arrays (such as sorting and searching). It also contains a static factory that allows arrays to be viewed as lists.
这个类提供的基本上都是静态方法,用户进行数组操作。
This class contains various methods for manipulating arrays (such as sorting and searching). It also contains a static factory that allows arrays to be viewed as lists.
应用推荐