0

How to remove first node linkedlist in java?

27th Oct 2017, 9:48 AM
intan
2 odpowiedzi
+ 2
poll() gets and removes the head of the linked list and pop() gets and removes the tail of the list
27th Oct 2017, 10:01 AM
Chrizzhigh
Chrizzhigh - avatar
+ 1
here are the java docs with a list of methods and what they do and return https://docs.oracle.com/javase/7/docs/api/java/util/LinkedList.html
27th Oct 2017, 10:02 AM
Chrizzhigh
Chrizzhigh - avatar