See More

package queue; /** * Created by ozc on 2018/3/28. * * @author ozc * @version 1.0 */ public class Queue { //数组 public int [] arrays; //指向第一个有效的元素 public int front; //指向有效数据的下一个元素(即指向无效的数据) public int rear; }