You'll have to write your own LinkedList class from scratch to implement that method. java.util.LinkedList
doesn't expose its internal implementation. For example, the nodes are called entries instead, and that class, java.util.LinkedList.Entry
, is private.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…