Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Collections And Generics
Rating: 3.2 out of 5(17 ratings)
122 students

Java Collections And Generics

Move your Java skills to the next level by mastering Java Collections Framework and Generics
Created bySera Nguyen
Last updated 3/2015
English

What you'll learn

  • 2 quizzes with 39 questions
  • 16 mini exercises to practice with provided solutions
  • 1 project to practice with provided source code solution
  • Apply different types of collections in daily programming tasks
  • Distinguish the differences among collections and how they are different from the underlying
  • Cope with different issues related to collections: sorting object list, overriding equals() and hashCode() methods
  • Apply generics on differrent kinds of collections
  • Apply generics on Classes and methods
  • Master the bounded type parameter techniques
  • Master other generic concepts: autoboxing, unboxing, type erasure, rawtypes

Course content

6 sections48 lectures2h 10m total length
  • Introduction To Collections Framework2:42

    An brief introduction about Java Collections Framework will be given to show you what benefits you could get over traditional arrays. A hierarchical collections interfaces will also be presented so that you can have an overview of the Collections Framework in Java

  • List Interface: ArrayList, Vector7:55

    You will learn how to use the List interface with the 2 implementations: ArrayList and Vector. The difference between these 2 classes will also be introduced.

  • Set Interface: HashSet, LinkedHashSet, TreeSet5:53

    The Set interface with the 3 implementation will be discussed. You will also learn when to use the HashSet, LinkedHashSet, and the TreeSet.

  • Map Interface: HashMap, LinkedHashMap, and TreeMap6:41

    I will discuss the Map interface which is one of the most popular data structures in computer systems. Also, its implementations of HashMap, LinkedHashMap, and TreeMap will be presented

  • Supported algorithms: The Collections class5:12

    We will explore the Collections class to have supported algorithms so that you can save a lot of time and effort when working with collections

  • Sorting objects with Comparable Interface5:08

    How to sort a collection of Objects with the Comparable interface will be discussed in this lecture.

  • Sorting Objects With Comparator Interface4:52

    We'll talk about a more flexible way of sorting a collection of Objects with the Comparator interface

  • Queue Interface: LinkedList implementation4:06

    We'll see how a queue works and its common implementation: the LinkedList class

  • Queue Interface: PriorityQueue implementation3:34

    We'll explore a special queue implementation: the PriorityQueu class so that you can prioritized elements in a queue data structure

  • Deque Interface: ArrayDeque – LinkedList implementations6:51

    We'll explore a special Queue data structure: Deque Interface, which is short for Double Ended Queue. We'll also gain the difference between the 2 implementations: LinkedList and ArrayDeque

  • Read-only Collections2:43

    Sometimes, we want to prevent our collections to be accidentally modified by making them unmodifiable. You'll learn how easy it is to achieve that in this lecture.

  • Overriding of equals() and hashCode()7:24

    One of the most confused points when it comes to overriding the equals() and hashCode() methods is why and when the 2 methods should be come together. This lecture will clear such confusion by illustrating the hash code concepts.

  • Test Your Collections Skills With Questions

Requirements

  • Students who take this course should have a basic skills in Java language including OOP concepts
  • The course code projects in the course are created on Netbeans 8, running on JDK 8.

Description

So, you have learned some basic Java skills and know how to implement Object Oriented concepts in Java? Now, what to learn next?

It's time to move your Java skills to the next level by mastering the Java Collections Framework and Generics.

If you are planning to work with Java platforms at any levels, these topics are must-known skills that you need a long the way with your programming career.

In this course, I will not just give you a list of the most popular Java collections, but you will also be able to distinguish the differences among those kinds of collections and know when to use for what for your programming jobs.

The concept of hash code collections using hashing algorithm such as HashSet and HashMap is also clearly explained with pictures as well as implementation.

For Generics section, you will not be limited at applying generics on collections like you might have encountered in other courses. In this course, you will learn from the basic of how to make classes and methods to be generic, to advanced techniques such as bounded type parameters, generics with inheritance, wildcards, rawtypes, and so on. And to help learners have a clear and comprehensive picture of generics, some behind-the-scene topics will be presented, including: autoboxing, unboxing, type erasure, and generic restrictions.

The course comes with 2 quizzes, one for each section with many questions designed to help you remember and have a more understanding of the new concepts in the lectures. Questions in the 2 quizzes cover all the topics who have come across in the course.

After complete all lectures, solidify your collections and generics skills with mini exercises. The solutions for each exercise is also attached.

Finally, challenge your programming skills with the big exercise.

The complete source code for the big exercise is also provided but I would highly recommend you should try to complete yourself first before taking a look at the provided solution.

Who this course is for:

  • Students who have learned basic Java skills and want to advance their knowlege
  • Students who have learned collections and generics but want to revise their knowledge with updated skills
  • Students who want to take Java-related exams or certifications
  • Students who want to catch up the better and comprehensive knowledge of Collections Framework and Generics