Java Programming I on YouTube:
https://www.youtube.com/playlist?list=PLLIqcoGpl73iaXAtS_-V_Xdx3mhTzPwb5
Java Collections and Generics
- How arrays and collections are similar
- How arrays and collections differ
- Code that uses an array
- Code that uses a collection
- The collection framework
- Collection interfaces
- Traversing Collections
- Iterators
- The Iterator interface
- Common collection classes
- The syntax for specifying the type of elements in a collection
- Example of Java Generic Class
- A statement that creates an array list of type String
- A statement that creates an array list of integers
- Code that creates a linked list of type Product
- The syntax for using type inference with JDK 1.7 or later
- A statement that creates an array list of type String
- The syntax for declaring a class that uses generic types
- A class statement for a class that implements a queue
- The ArrayList class
- Constructors of the ArrayList class
- Common methods of the ArrayList class
- Code that uses an array list of type String
- Another way to display the contents of a collection
- Code that replaces and deletes objects
- Code that uses an array list of type Integer
- List Processing
- The LinkedList class
- A constructor for the LinkedList class
- Common methods of the LinkedList class
- Code that creates a linked list of type String
- Code that adds elements to the beginning and end of the list
- Code that uses an enhanced for loop to process the list
- Code that retrieves the first and last elements of the list
- Search Algorithms
- Search Algorithms, cont.
- Selection Sort
- Selection Sort Algorithm
- Selection Sort Implementation
- Selection Sort Complexity
- Insertion Sort Algorithm
- Insertion Sort Implementation
- Insertion Sort Complexity
- Binary Search Algorithm
- Binary Search Algorithm Example
- Binary Search Implementation
- Binary Search in Sorted Container
- Basic methods of a class that implements a generic queue
- Code for a GenericQueue class that implements a queue
- Code that uses the GenericQueue class
- The HashMap and TreeMap classes
- Common methods of the HashMap and TreeMap classes
- Common methods of the HashMap and TreeMap classes
- Code that uses a hash map
- Code that uses a tree map
- Legacy collection classes
- Code that uses a vector
- Code that stores strings in an untyped array list
- Wrapper classes for primitive types