Java: Collections Framework
60 cards · 🇺🇸 English
Lists, sets, maps, and the core Java Collections Framework interfaces.
Study all 60 cards for free
Flashcards, quizzes, pixel-art games and a daily review that remembers for you.
Try the first 10 cards
1 / 10Java Collections Framework
Tap the card for the answer · swipe right if you knew it, left if not
Already have an account? Sign in
Cards
- 1Java Collections FrameworkA unified architecture for representing and manipulating collections of objects
- 2Root interface for the collection hierarchyjava.util.Collection
- 3Main types of collectionsSet, List, Queue, Deque, and Map
- 4Set in JavaA collection that contains no duplicate elements
- 5List in JavaAn ordered collection (sequence) that allows duplicate elements
- 6Queue in JavaA collection designed for holding elements prior to processing, typically FIFO
- 7Deque in JavaA double-ended queue that allows element insertion and removal at both ends
- 8Map in JavaAn object that maps keys to values, with no duplicate keys allowed
- 9General-purpose Set implementation backed by a hash tableHashSet
- 10General-purpose Set implementation backed by a balanced treeTreeSet
- 11LinkedHashSetA HashSet with predictable iteration order (insertion order)
- 12General-purpose List implementation backed by a resizable arrayArrayList
- 13General-purpose List implementation backed by a linked listLinkedList
- 14General-purpose Map implementation backed by a hash tableHashMap
- 15General-purpose Map implementation backed by a balanced treeTreeMap
- 16LinkedHashMapA HashMap with predictable iteration order (insertion or access order)
- 17ArrayDequeA resizable-array implementation of the Deque interface
- 18SortedSetA Set that maintains elements in ascending order
- 19NavigableSetA SortedSet with navigation methods to find closest matches
- 20SortedMapA Map that maintains keys in ascending order
- 21NavigableMapA SortedMap with navigation methods to find closest key matches
- 22UnsupportedOperationExceptionAn optional operation is not supported by the collection implementation
- 23Immutable collectionA collection where no changes to the Collection object are visible after creation
- 24Fail-fast iteratorAn iterator that detects concurrent modification and throws ConcurrentModificationException
- 25Add() methodAdds an element to the collection, returns true if collection changed
- 26Remove() methodRemoves a single instance of the specified element from the collection
- 27Contains() methodReturns true if the collection contains the specified element
- 28Size() methodThe number of elements in the collection
- 29IsEmpty() methodtrue if the collection contains no elements
- 30Clear() methodRemoves all elements from the collection
And 30 more cards. Study the whole deck free
Articles about this deck
More Programming decks
See all- ☕
Java: Core Concepts & OOP
73 cards · 🇺🇸 English
Core Java syntax and object-oriented programming fundamentals.
- ☕
Java: Streams & Lambda
36 cards · 🇺🇸 English
Functional-style operations with Java Streams and lambda expressions.
- 🧱
Data Structures
95 cards · 🇺🇸 English
Arrays, linked lists, trees, graphs, hash tables and their core operations.
- 🟣
C#: Fundamentals & .NET Core
99 cards · 🇺🇸 English
Core C# syntax, types, and .NET Core concepts in one deck.
- 🌐
APIs: REST, GraphQL & HTTP Status Codes
108 cards · 🇺🇸 English
REST and GraphQL API concepts plus common HTTP status codes.
- 🎨
CSS: Box-Modell, Selektoren & Media Queries
129 cards · 🇺🇸 English
Das CSS-Box-Modell, Selektortypen, Media Queries und Animationen.
