摘要: 以一个类来定义结点类,其中包含结点数据值,前结点,后结点(双向链表的情况有前、后结点)。using System;using System.Collections.Generic;using System.Text;namespace Csharp{ public class Node<T> where T : IComparable<T> { T data; /// <summary> /// the current data /// </summary> public T Data { ... 阅读全文
posted @ 2012-02-09 17:55 One Ivan 阅读(502) 评论(0) 推荐(0) 编辑