Advanced Features in Java: Working with Lists in Java
Java SE 13
| Intermediate
- 9 Videos | 1h 7m 9s
- Includes Assessment
- Earns a Badge
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 coursedescribe how lists can be instantiated with type parameters to achieve type safetydescribe the ArrayList, LinkedList, and Vector classes and how these are all instances of the list, collection, and iterable interfacesdescribe important methods of the List interface and how the .addall, .removeall, and .retainall methods workdescribe how the .get, .set, .add, .indexof, and .lastindexof methods work
-
describe how you can iterate over lists using ListIteratordescribe how the .hasnext, .next, .previous, and .hasprevious methods can be used to iterate over lists in different waysdescribe when you can use the .sublist method to get a part of a listsummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 17sUP NEXT
-
2.Introduction to Lists8m 58s
-
3.Different List Implementations8m 27s
-
4.Methods of the Collection Interface10m 52s
-
5.Methods of the List Interface9m 7s
-
6.Iteration over Lists9m 10s
-
7.More List Iteration Techniques9m 52s
-
8.Range-views on Lists6m 45s
-
9.Course Summary1m 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.