1/14
These flashcards cover key terminology and concepts from the Java Collections Framework, focusing on data structures, their operations, and related interfaces.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Container Object
An object that stores other objects, referred to as data or elements, often used in object-oriented programming.
ArrayList
A data structure in Java that stores elements in a dynamic array, allowing for flexible resizing.
Java Collections Framework
A framework that provides a set of classes and interfaces for storing and manipulating collections of data.
Collection Interface
The root interface defining operations for manipulating a collection of objects in the Java Collections Framework.
Set
A data structure that stores a group of non-duplicate elements.
List
A data structure that stores an ordered collection of elements.
Stack
A collection that stores objects in a last-in, first-out (LIFO) manner.
Queue
A collection that stores objects in a first-in, first-out (FIFO) manner.
PriorityQueue
A collection that processes its elements based on their priority.
AbstractCollection
A class that provides partial implementation of the Collection interface in Java.
UnsupportedOperationException
An exception thrown when a method is not supported in a certain subclass of the Collection interface.
Iterator
An object that enables traversing through a collection and accessing its elements.
Concrete Class
A class that implements an interface using concrete data structures.
add() Method
A method used to add an element to a collection in Java.
toArray() Method
A method that returns an array representation of the collection.