摘要:
Java代码: package com.linked; class B{ public int data; //数据 public B before=null; //前驱 public B after=null; //后继 public B(){ } public B(int data,B befo 阅读全文
摘要:
Java代码: package com.linked; class A{ public int data; public A next=null; public A(){ } public A(int data,A next){ this.data=data; this.next=next; } } 阅读全文