Advanced Features in Java: Working with Lists in Java

Java SE 13    |    Intermediate
  • 9 Videos | 1h 10m 39s
  • Includes Assessment
  • Earns a Badge
Likes 9 Likes 9
In this course, you'll focus on ArrayLists, which are a specific instantiation of the List interface. You'll learn about the List, Collection, and Iterable interfaces, and how the different list implementations such as ArrayList, Vector, and LinkedList, implement these interfaces. You'll then explore different iteration operations over lists and the ListIterator object. You'll see how to avoid ConcurrentModification exceptions, which can occur if code attempts to simultaneously iterate over a list and modify that list’s contents. Next, you'll learn how to perform range-view operations on lists. Finally, you'll examine the shallow-copy nature of range-views, and how, when you modify an element in a range-view, the elements in the underlying list are being modified as well.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    describe how lists can be instantiated with type parameters to achieve type safety
    describe the ArrayList, LinkedList, and Vector classes and how these are all instances of the list, collection, and iterable interfaces
    describe important methods of the List interface and how the .addall, .removeall, and .retainall methods work
    describe how the .get, .set, .add, .indexof, and .lastindexof methods work
  • describe how you can iterate over lists using ListIterator
    describe how the .hasnext, .next, .previous, and .hasprevious methods can be used to iterate over lists in different ways
    describe when you can use the .sublist method to get a part of a list
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 17s
    UP NEXT
  • Playable
    2. 
    Introduction to Lists
    8m 58s
  • Locked
    3. 
    Different List Implementations
    8m 27s
  • Locked
    4. 
    Methods of the Collection Interface
    10m 52s
  • Locked
    5. 
    Methods of the List Interface
    9m 7s
  • Locked
    6. 
    Iteration over Lists
    9m 10s
  • Locked
    7. 
    More List Iteration Techniques
    9m 52s
  • Locked
    8. 
    Range-views on Lists
    6m 45s
  • Locked
    9. 
    Course Summary
    1m 40s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.