Come to the glass, and I'll let you see what you should wish.
到镜子这儿来,我要让你看看你该愿望什么吧。
Since this isn't an article on JAXB basics (for such articles, see Resources), I'll just let you see the code, shown in Listing 3.
因为这不是一篇关于jaxb基础的文章(这类文章请参阅参考资料),我仅仅把代码列在下面,如清单3所示。
Let me see if he'll do it, and I'll get back to you.
我先去看看他做不做,再跟你说。
And the last piece I want you to see here, and then I'll let you go is, notice now how that encapsulation, that binding things together has really helped me.
我想要的那么干净,最后一点要给大家讲的是,也就是下课前讲的一点,就是请注意这里是怎么封装的,也就是把东西绑定在一起。
Okay, so let me do that and you'll see what I mean.
我来做个示范,你就明白我的意思了
I'll let you just grok it but you can see it's basically doing what I did over there. Setting up two indices for the two sub-list,it's just walking down, finding the smallest element, putting it into a new list. When it gets to the end of one of the lists, it skips to the next part, and only one of these two pieces will get called because only one of them is going to have things leftovers.
你们可以大体的浏览一下,但是它们基本就是我在那里所做的事情,为两个子列表设置了两个指针,指针顺着列表走下去,找到最小的元素,把它放入到一个新的列表中去,当它走到一个列表的尾部时,它会跳到下部分去,两部分中只有一个会被执行,因为只有一个会有元素剩余。
应用推荐