public class LinkedNonReadBlockQueue<T> extends Object implements LinkedQueue<T>
| 构造器和说明 |
|---|
LinkedNonReadBlockQueue() |
LinkedNonReadBlockQueue(int capacity) |
public LinkedNonReadBlockQueue()
public LinkedNonReadBlockQueue(int capacity)
public <T> T[] getArray(Class<T> componentType, int length)
LinkedQueuegetArray 在接口中 LinkedQueue<T>public T put(T t) throws InterruptedException
put 在接口中 LinkedQueue<T>t - 泛型InterruptedException - 异常public T poll() throws InterruptedException
poll 在接口中 LinkedQueue<T>InterruptedException - 可能抛出异常public int getCapacity()
LinkedQueuegetCapacity 在接口中 LinkedQueue<T>public int getCount()
LinkedQueuegetCount 在接口中 LinkedQueue<T>Copyright © 2021. All rights reserved.