Java Collections and Generics

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards for reviewing Java Collections and Generics concepts.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Data Structures

Tools for organizing data, with many kinds such as Arrays, Lists, Queues, Stacks, Heaps, Trees, and Graphs.

2
New cards

List

An ordered collection similar to an array, but that also supports adding and removing elements, and a variety of special operations such as sorting and searching.

3
New cards

Interfaces

Specify what methods an object must perform but not how to perform them, containing method declarations but no bodies (code).

4
New cards

ArrayList

Backed by an array, this is a concrete class that implements the List interface.

5
New cards

LinkedList

Backed by a chain of nodes, this is a concrete class that implements the List interface.

6
New cards

Generics

A mechanism that allows you to specify the state and behavior of a class without needing to know exactly what the other class is.

7
New cards

Queue

First-in, first-out (FIFO) structure similar to a list.

8
New cards

Stack

Last-in, first-out (LIFO) list-like structure.

9
New cards

Set

An unordered collection of unique elements (no duplicates).

10
New cards

Map

A mapping from keys to values, also known as dictionaries.

11
New cards

Comparable

Overloading compareTo().

12
New cards

Comparator

Implementing compare().