Armed with this new generic data type, you can now make a very generic list node structure, as shown in Listing 4.
在这个新的通用数据类型的帮助下,您现在可以得到一个非常通用的列表节点结构,如清单4所示。
With this generic list node structure, you can now define lists and list operations that work regardless of the type of data stored in them.
使用这个通用的列表节点结构,您现在可以定义列表和不需要考虑存储在列表中的数据类型的列表操作。
Therefore, I will show you a more generic method of handling data, a method that will allow you to store any data type in any node.
因此,我将介绍一种更为通用的处理数据的方法, 这种方法允许您在任意节点中存储任意数据类型。
应用推荐