JUC

BlockingQueue: 不接受 null 元素;能夠是限定容量的;實現是線程安全的;主要用於生產者-使用者隊列; 方法 拋出異常 返回特定的值 阻塞 超時 插入 add(e) offer(e) put(e) offer(e, time, unit) 移除 remove() poll() take() poll(time, unit) 檢查 element() pee
相關文章
相關標籤/搜索