LinkedList list
= new LinkedList();
list
.add(123);
private static class Node<E>{
E item
;
Node
<E> next
;
Node
<E> prev
;
Node(Node
<E> prev
,E element
,Node
<E> next
){
this.item
=element
;
this.next
=next
;
this.prev
=prev
;
}
}
转载请注明原文地址: https://lol.8miu.com/read-3933.html