Is LinkedList from java.util doubly linked list? And do i need to implement my own singly linked list or there is any class for this in java.util?
Just can't find straight answers over web.
From the LinkedList API documentation :
All of the operations perform as could be expected for a doubly-linked list.
Unless memory is an issue, a double-linked list is sufficient to meet all the needs that a single-linked list can meet.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.