与其他列表实现一样,需要一个列表头来充当列表的锚点。
Like any list implementation, you need a list head that serves as the anchor for the list.
如果我们随后在列表头部添加了一个新值,则称为构造一个新列表。
If we then add a new value to the head of the list, it's known as constructing (or "cons-ing") a new list. The new list will share all the cells from the original.
一开始,您创建了您的数据结构(my _ data_struct),该结构包含一些数据和两个列表头。
At the start, you create your data structure (my_data_struct), which includes some data and then two list heads.
梯度效应可应用于下拉按钮,列表头,奇数和偶数行的项目,项目的选择栏,滚动条中的所有元素。
Gradient effects can be applied on dropdown button, list header, odd and even item rows, items selection bar, and all elements in the scrollbar.
也可以通过使用LIST_HEAD_INIT宏手动创建一个列表头(例如,您的列表头位于另一个结构中)。
You can also create a list head manually (for example, if your list head is in another structure) through the use of the LIST_HEAD_INIT macro.
为此,它将选取列表的第一个元素 — 列表头部 —来对该元素执行处理,然后再递归式地将列表的其余部分传递给自身。
To do so, it will pick off the first element of the list — the head — to do the processing on that element, and recursively pass the rest of the list to itself again.
这个API提供一个list_head结构,用于表示列表头(锚点)和结构内(in -structure)列表指针。
The API provides a list_head structure that is used to represent not only the list head (anchor) but also the in-structure list Pointers.
我不会包含进全部的JSP,因为它在列表旁边建立了一个选择菜单,一个顶部有图像的很漂亮的表头,还有其它许多有趣的五颜六色的东西。
I won't include all of the JSP, because it builds selection menus along the sides of the list, a nice header with images at the top, and lots of other wonderful and colorful things.
列表框一直允许使用一个特殊的表头行。
列表框一直允许使用一个特殊的表头行。
应用推荐