5 队列的数据结构
1 package com.wwj.cn; 2 3 public class Queue { 4 private final int MAXSIZE = 10; 5 int[] data = new int[MAXSIZE]; 6 int front; 7 int rear; 8 }
posted on 2017-05-26 08:12 WenjieWangFlyToWorld 阅读(147) 评论(0) 编辑 收藏 举报
1 package com.wwj.cn; 2 3 public class Queue { 4 private final int MAXSIZE = 10; 5 int[] data = new int[MAXSIZE]; 6 int front; 7 int rear; 8 }
posted on 2017-05-26 08:12 WenjieWangFlyToWorld 阅读(147) 评论(0) 编辑 收藏 举报