/** * 使用链表实现队列 * Create by Administrator * 2018/6/19 0019 * 下午 4:37 **/ public class Link { public long dData; public Link next; public Link(long d){ this.dData = d; } public void displayLink(){ System.out.print(dData + " "); } } class SortList{…
/** * 使用链表实现队列 * Create by Administrator * 2018/6/19 0019 * 下午 4:37 **/ public class Link { public long dData; public Link next; public Link(long d){ this.dData = d; } public void displayLink(){ System.out.print(dData + " "); } } class FirstLast…
/** * 双端链表操作 * Create by Administrator * 2018/6/14 0014 * 下午 2:05 **/ class Link1 { public long dData; public Link1 next; public Link1(int id) { this.dData = id; } public void displayLink() { System.out.print(dData + " "); } } public class First…
/** * 单链表操作 * Create by Administrator * 2018/6/14 0014 * 下午 2:05 **/ public class Link { public int iData; public double dData; public Link next; public Link(int id, double dd) { this.iData = id; this.dData = dd; } public void displayLink() { System.…