package dwz.common.component.queue;

/**
 * 队列诊断信息接口
 * (此行为仅暴露给用于的用户)
 *
 * @Author: LCF
 * @Date: 2020/1/8 15:11
 * @Package: dwz.common.component.queue
 */

public interface DiagnoseQueue<E> {

    public int size();

    public int capacity();

    public boolean isFull();

    public boolean isPriorityQueue();

    public E[] toArray(E[] objs);
}
