Java Collection Tutorial - LinkedList Example








Constructor

  1. Java LinkedList() Constructor
  2. Java LinkedList(Collection c) Constructor

Method

  1. Java LinkedList.add(E e)
  2. Java LinkedList.add(int index, E element)
  3. Java LinkedList.addAll(Collection c)
  4. Java LinkedList.addAll(int index, Collection c)
  5. Java LinkedList.addFirst(E e)
  6. Java LinkedList.addLast(E e)
  7. Java LinkedList.clear()
  8. Java LinkedList.clone()
  9. Java LinkedList.contains(Object o)
  10. Java LinkedList .descendingIterator ()
  11. Java LinkedList.element()
  12. Java LinkedList.get(int index)
  13. Java LinkedList.getFirst()
  14. Java LinkedList.getLast()
  15. Java LinkedList.indexOf(Object o)
  16. Java LinkedList.lastIndexOf(Object o)
  17. Java LinkedList.listIterator(int index)
  18. Java LinkedList.offer(E e)
  19. Java LinkedList.offerFirst(E e)
  20. Java LinkedList.offerLast(E e)
  21. Java LinkedList.peek()
  22. Java LinkedList.peekFirst()
  23. Java LinkedList.peekLast()
  24. Java LinkedList.poll()
  25. Java LinkedList.pollFirst()
  26. Java LinkedList.pollLast()
  27. Java LinkedList.pop()
  28. Java LinkedList.push(E e)
  29. Java LinkedList.remove()
  30. Java LinkedList.remove(int index)
  31. Java LinkedList.remove(Object o)
  32. Java LinkedList.removeFirst()
  33. Java LinkedList .removeFirstOccurrence (Object o)
  34. Java LinkedList.removeLast()
  35. Java LinkedList .removeLastOccurrence (Object o)
  36. Java LinkedList.set(int index, E element)
  37. Java LinkedList.size()
  38. Java LinkedList.toArray()
  39. Java LinkedList.toArray(T[] a)