【文件属性】:
文件名称:java实现的顺序队列
文件大小:919B
文件格式:JAVA
更新时间:2016-06-04 13:27:40
顺序队列
java语言实现的数据结构顺序队列,部分代码:public class OrderQueue {
int rear=-1;
int front=0;
String[]queue;
public OrderQueue(int initcap)throws Exception{
if(initcap<=0){
throw new Exception("容量必须大于或等于1");