Some Web services engines may not provide support for ArrayList.
有些Web服务引擎可能没有为arraylist提供支持。
When a dynamic length of an array is needed, think ArrayList.
当需要动态长度的数组时,请考虑ArrayList。
As you add elements, the capacity of the ArrayList object expands automatically.
在添加元素时,ArrayList对象的容量将自动扩展。
This includes operations on types like List or ArrayList without a type specified.
这种操作包括诸如list或arraylist等类型上的操作,但没有指定类型。
I start by creating a list of all the factors as a dynamic list (an ArrayList).
首先把所有因子创建为一张动态列表(ArrayList)。
Method addWsdlSchemas generates the schemas, validate them and add them into a arraylist.
addWsdlSchemas 方法生成模式,并对其进行验证,然后将其添加到数组列表中。
ArrayList: the list of PPListElement objects containing the new project dependencies.
包含新项目依赖关系的PPListElement对象的列表。
Similarly, it returns an ArrayList because that is the third type parameter of the AsyncTask.
类似地,它返回一个ArrayList,因为这是AsyncTask的第三个类型参数。
ArrayList: the list of PPListElement objects containing the existing project dependencies.
包含现有项目依赖关系的PPListElement对象的列表。
It does this by reordering the arrayList in the root bean for whatever column needs to be sorted.
无论哪一列需要排序,都可以通过对根bean中的arrayList进行重新排序来实现。
When an instance of the ArrayList class is created, it takes a small subtree of the template tree.
当一个动态数组的实例被创建的时候,它会抓住模板树的一个子树。
Listing 5 shows code that receives the incoming data and pushes it into an object of the ArrayList class.
清单5展示的代码将接收传入的数据并将数据推入到arraylist类的对象中。
The Listing 8 template illustrates the use of the #foreach directive with our $treeList ArrayList variable.
清单8 中的模板通过 $treeListArrayList变量演示了 #foreach指示符的用法。
The tripList element is an ArrayList of Trip objects pulled from the database by the Trip.list() method.
tripList元素是Trip对象的一个 ArrayList,Trip 对象是通过Trip.list()方法从数据库中拉出的。
Because ArrayList isn't a final class, another option would be simply to have FixedList extend ArrayList.
由于ArrayList并不是final类,另一个选择就是让FixedList扩展ArrayList。
The sample program creates both a CopyOnWriteArrayList and ArrayList instance from the command line arguments.
这个示例程序用命令行参数创建CopyOnWriteArrayList和ArrayList这两个实例。
The ArrayList of Products has been translated into a sequence of anonymous elements in the XML Schema definition.
Products的ArrayList已经被翻译成了XMLSche ma定义中的匿名元素序列。
In lines 25-28, you convert the result returned by the service into an ArrayList that the type-ahead component understands.
25 - 28行,将由服务器返回的结果变换为预输入组件可以理解的ArrayList类型。
Accordingly, I can create an ArrayList for the Stack class that holds values passed into the push method, as shown in Listing 9.
相应地,我可以为stack类创建一个ArrayList,用于保持传递给push方法的值,如清单9所示。
A close reading of the information in Listing 17 uncovers the issue: I need to account for 0 when dealing with an ArrayList.
仔细阅读清单17中的实现可以发现问题:在处理ArrayList时,我需要考虑0。
You've heard again and again that ArrayList is more efficient than Vector if you don't have synchronization as a consideration.
您已经反复听说过,如果不考虑同步,则arraylist比vector更有效。
To summarize: use the enhanced for loop by default, but consider a hand-written counted loop for performance-critical ArrayList iteration.
结论:优先采用改进for循环,但在性能要求苛刻的ArrayList迭代中,考虑采用手写计数循环。
The letter preceding the greater-than symbol indicates the type of the object stored (t=triplet, p=pair, i=integer, l=ArrayList, and so on).
大于号之前的字母代表存储对象的类型(t=triplet,p=pair,i=integer,l=ArrayList,等)。
ArrayList is a particular type of list, storing its contents in an allocated array, whereas LinkedList USES a linked-list implementation instead.
ArrayList是List的具体类型,在分配好的数组中存储内容,而LinkedList使用的是链表实现。
You'll get a detailed, step-by-step look at what happens when your data is culled from the database and transformed into an ArrayList of beans.
您详细了解到何时从数据库挑选数据,并转换为一个由bean组成的ArrayList。
The function setData(ArrayList seriesData) accepts data (see Step 1) you want to visualize graphically, and the plot() function starts plotting the graph.
函数setData(ArrayListseriesData)接受您想要以图形形式形象化的数据(参见步骤1),而plot() 函数则开始绘图。
The first instance of type substitution is in the fourth and fifth lines of the output, where the types of values in the ArrayList instances are specified.
类型替换的第一个实例在输出的第4和第5行,里面指定了ArrayList实例中值的类型。
For example, Figure 5 shows an instance of the EvaluateServlet class as a leak container, and an instance of the ArrayList class as a leaking type in the first row.
例如,图5显示,evaluateservlet类的一个实例是泄漏容器,arraylist类的一个实例是第一行的泄漏类型。
Keeping the reference to the property change listener means the Person POJO has to keep some kind of collection class (such as ArrayList) to contain all the references.
保持引用属性变更监听器意味着PersonPOJO必须保留某种类型的集合类(例如arraylist)来包含所有引用。
We start by forming an ArrayList containing a set of ArrayLists, in which each of the constituent ArrayLists contains exactly one element of the first Permutation Group.
我们开始形成包含一组ArrayLists的ArrayList,在其中,每个构成的ArrayLists正好包含第一个置换群的一个元素。
应用推荐