Advanced Features in Java: Working with Lists in Java
Java
| 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
-
2m 17s
-
8m 58sAfter completing this video, you will be able to describe how lists can be instantiated with type parameters to achieve type safety. FREE ACCESS
-
8m 27sAfter completing this video, you will be able to describe the ArrayList, LinkedList, and Vector classes and how these are all instances of the list, collection, and iterable interfaces. FREE ACCESS
-
10m 52sUpon completion of this video, you will be able to describe important methods of the List interface and how the .addall, .removeall, and .retainall methods work. FREE ACCESS
-
9m 7sUpon completion of this video, you will be able to describe how the .get, .set, .add, .indexof, and .lastindexof methods work. FREE ACCESS
-
9m 10sAfter completing this video, you will be able to describe how to iterate over lists using ListIterator. FREE ACCESS
-
9m 52sUpon completion of this video, you will be able to describe how the .hasnext, .next, .previous, and .hasprevious methods can be used to iterate over lists in different ways. FREE ACCESS
-
6m 45sUpon completion of this video, you will be able to describe when you can use the .sublist() method to get a part of a list. FREE ACCESS
-
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 on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.