Linked list is implementation of the List interface. LinkedList class provides uniformly named methods to get, remove and insert an element at the beginning and end of the list
Hierarchies of LinkedList follows as :
java.lang.Object
extended by java.util.AbstractCollection
extended by java.util.AbstractList
extended by java.util.AbstractSequentialList
extended by java.util.LinkedList
I have list down Linked list methods which are provided as LinkList J2SE6 API documentation
so one can get basic idea what are the methods available and there is simple java program provided
at bottom of current linkedlist post so you can play with other methods.
Hierarchies of LinkedList follows as :
java.lang.Object
extended by java.util.AbstractCollection
extended by java.util.AbstractList
extended by java.util.AbstractSequentialList
extended by java.util.LinkedList
I have list down Linked list methods which are provided as LinkList J2SE6 API documentation
so one can get basic idea what are the methods available and there is simple java program provided
at bottom of current linkedlist post so you can play with other methods.