JAVA實現簡單的阻塞隊列

public class MyBlockQueue<T> { //push鎖 private final static Object pushLock = new Object(); //pop鎖 private final static Object popLock = new Object(); //數據存儲 private Stack<T>
相關文章
相關標籤/搜索