摘要: 1 package com.liu.link; 2 3 public class LinkListCopy { 4 //first为私有,不能动,当外部想查看内部时,为了安全需要,需要重新指定指针指向first 5 private Link_1 first; 6 publ... 阅读全文
posted @ 2014-04-17 16:15 一叶落香 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 1 package com.liu.queue; 2 3 public class QueueApp { 4 public static void main(String args[]) 5 { 6 Queue theQueue = new Queue(5); 7... 阅读全文
posted @ 2014-04-17 14:07 一叶落香 阅读(399) 评论(0) 推荐(0) 编辑