摘要: 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 阅读全文
posted @ 2019-11-07 21:07 Cool_Yang 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 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; } } 阅读全文
posted @ 2019-11-07 20:46 Cool_Yang 阅读(220) 评论(0) 推荐(0) 编辑