Mega Code Archive

 
Categories / Java Book / 005 Collection
 

0282 Get the element from LinkedList

E get(int index) Returns the element at the specified position in this list. E getFirst() Returns the first element in this list. E getLast() Returns the last element in this list.