LinkedList 的實現原理淺析

轉載自 LinkedList 的實現原理淺析 LinkedList內部結構 查看LinkedList的源碼,發現其繼承自AbstractSequentialList,實現了List,Deque,Cloneable以及Serializable接口,如: 也就意味着: LinkedList 是一個繼承於AbstractSequentialList的雙向鏈表。它也可以被當作堆棧、隊列或雙端隊列進行操作。
相關文章
相關標籤/搜索