feat: 添加可动态调整队列范型.

pull/161/head
chen.ma 3 years ago
parent db0962a9e9
commit 5dc5090909

@ -12,7 +12,7 @@ import java.util.concurrent.LinkedBlockingQueue;
* @date 2021/6/20 14:24 * @date 2021/6/20 14:24
*/ */
@Slf4j @Slf4j
public class ResizableCapacityLinkedBlockIngQueue extends LinkedBlockingQueue { public class ResizableCapacityLinkedBlockIngQueue<E> extends LinkedBlockingQueue<E> {
public ResizableCapacityLinkedBlockIngQueue(int capacity) { public ResizableCapacityLinkedBlockIngQueue(int capacity) {
super(capacity); super(capacity);

Loading…
Cancel
Save