Because LinkedList isn't new, let's look at the new PriorityQueue class.
因为LinkedList不是新事物,所以我们来看一下新的priorityqueue类。
By this measure, the LinkedList implementation in Listing 2 fails miserably.
按照这种方法,清单2中的LinkedList的执行只能是可怜的失败。
The JAX-RPC specification does not define a mapping for the LinkedList class.
JAX - RPC规范没有为linkedlist类定义映射。
When a questions asks about a "LinkedList" do you assume single or double linked?
当一个问题问“链表”你以为单或双联?
I said earlier that an empty list is a LinkedList containing a null pointer in both fields.
我前面说过,空链表就是两个域都包含一个空指针的LinkedList。
For example, let's consider the original LinkedList-based CustomerService implementation listed above.
例如,让我们考虑上面列出的基于原始linkedlist的CustomerService实现。
Consider the following singly linked implementation of the LinkedList class, with a dangling composite.
考虑下面linkedlist类的单连接执行,它有一个悬挂复合类型。
Scala default Values: How do I get a default value from type Any in Scala while creating a LinkedList?
Scala的默认值:我如何获得一个默认值的类型的任何在Scala中而创建一个链表的?
In fact, as I mentioned earlier, our LinkedList class already contains a subtle but devastating bug (did you spot it?)
实际上,就象我前面提到的,我们的linkedlist类已经包含一个微小的但有破坏性的错误(你发现了吗?)
The specific algorithm used to iterate over an array (versus a LinkedList) is left to the design pattern implementation.
用于迭代数组(相对于LinkedList)的具体算法留给设计模式的实现部分。
To implement mutator methods, the new LinkedList class serves as a container for an internal, immutable list, as shown in Listing 5.
为了执行可变的方法,新的LinkedList类作为一个内部不可变的链表的容器,如清单5 所示。
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使用的是链表实现。
Changing LinkedList in Listing 2 to PriorityQueue will result in Four being printed out instead of One, as Four comes first alphabetically — the natural ordering of strings.
将清单2中的LinkedList改变为PriorityQueue将会打印出Four而不是One,因为按字母排列——字符串的天然顺序——Four是第一个。
Instead of implementing singly linked lists as we did earlier, I recommend implementing such lists with a class LinkedList that contains a field holding either an Empty or a Cons class.
我建议执行有着linkedlist类的链表,该类包含一个有empty类或cons类的域,而不是象我们前面做的那样,单个执行链接链表。
Instead of implementing singly linked lists as we did earlier, I recommend implementing such lists with a class LinkedList that contains a field holding either an Empty or a Cons class.
我建议执行有着linkedlist类的链表,该类包含一个有empty类或cons类的域,而不是象我们前面做的那样,单个执行链接链表。
应用推荐