🌐
GitHub
gist.github.com › iSergius › e06963c6eca0a639023666097227427c
Java Collections Complexity cheatsheet · GitHub
Do these figures still hold in the new Java versions? If not, then I would suggest adding the Java-version these performances were measured at.
🌐
GitHub
github.com › nlharri › JavaCollectionsFrameworkCheatSheet
GitHub - nlharri/JavaCollectionsFrameworkCheatSheet: This is a small cheat sheet and rules of thumb for using Java Collections Framework · GitHub
This is a small cheat sheet and rules of thumb for using Java Collections Framework - nlharri/JavaCollectionsFrameworkCheatSheet
Starred by 13 users
Forked by 9 users
Languages   Java
🌐
Java-Cheatsheet
yungnickyoung.github.io › Java-Cheatsheet
Table of Contents | Java-Cheatsheet
Want to perform one synchronization for a batch of ten writes? Also fine. It does require a little more care on your end, but it’s likely what you want. Also note that if you have an ArrayList, you can use the Collections.synchronizedList function to create a synchronized list, thus getting you the equivalent of a Vector.
🌐
Chenweixiang
chenweixiang.github.io › docs › All_Cheat_Sheets_v2.pdf pdf
cheat sheet Getting started with Maven For more awesome cheat sheets
extreme to notice a performance impact · O(n) - linear to your collection size: the larger your · collection is, the slower your operations will be · ArrayList · O(1) O(n) O(n) HashSet · O(1) O(1) O(1) HashMap · O(1) O(1) O(1) TreeMap · O(log(n)) O(log(n)) O(log(n)) Java Collections Cheat Sheet ·
🌐
GitHub
github.com › yungnickyoung › Java-Cheatsheet
GitHub - yungnickyoung/Java-Cheatsheet: Java notes cheatsheet, focusing on fundamentals and useful interview tips · GitHub
Want to perform one synchronization for a batch of ten writes? Also fine. It does require a little more care on your end, but it's likely what you want. Also note that if you have an ArrayList, you can use the Collections.synchronizedList function to create a synchronized list, thus getting you the equivalent of a Vector.
Starred by 276 users
Forked by 69 users
🌐
DEV Community
dev.to › zeeshanali0704 › java-collections-cheat-sheet-with-examples-2jc4
Java Collections Cheat Sheet with Examples - DEV Community
November 7, 2025 - A concise but comprehensive reference for Java Collections — including Collection, List, Set, Queue, Map, and the Collections utility class.
🌐
Java Concept Of The Day
javaconceptoftheday.com › home › java collections cheat sheet
Java Collections Cheat Sheet
March 6, 2025 - Below is the Java collections cheat sheet. You can use it as quick reference guide to prepare for the interviews. ... Java Collection Framework is a framework which provides some predefined classes and interfaces to store and manipulate the group of objects. Using Java collection framework, you can store the objects as a List or as a Set or as a Queue or as a Map and perform ...
🌐
Chenweixiang
chenweixiang.github.io › docs › Java_Collections_cheat_sheet.pdf pdf
Java Collections Cheat Sheet
Rust Software Design Pattern Ruby Scientific Computing Lua Cheat Sheets Secure Coding XML HTML Python Java C++ C Programming Languages
Find elsewhere
🌐
StudyLib
studylib.net › engineering & technology › computer science › java programming
Java Collections Cheat Sheet: Libraries & Performance
February 9, 2025 - Primitive support Order of iteration FIFO Sorted Performant ‘contains’ check LIFO Random access By key * IntArrayList (Fastutil) PriorityQueue PriorityBlockingQueue ArrayDeque ArrayBlockingQueue ** ** * O(log(n)) complexity, while all others are O(1) - constant time ** ** when using Queue interface methods: offer() / poll() How fast are your collections? need: primitive type collections, multimaps, https://github.com/JCTools/JCTools Duplicate element support Int2IntMap (Fastutil) includes almost any collection you might JCTools Key-value pairs * Previously known as gs-collections, this library bidirectional maps and so on.
🌐
JRebel
jrebel.com › blog › java-collections-cheat-sheet
Java Collections Cheat Sheet | JRebel
April 20, 2016 - Our Java collections cheat sheet looks at Java collections for list, set, map, queue, utilities, and more. Plus, download our Java cheat sheet pdf!
🌐
GitHub
github.com › nlharri › JavaCollectionsFrameworkCheatSheet › blob › master › README.md
JavaCollectionsFrameworkCheatSheet/README.md at master · nlharri/JavaCollectionsFrameworkCheatSheet
This is a small cheat sheet and rules of thumb for using Java Collections Framework - JavaCollectionsFrameworkCheatSheet/README.md at master · nlharri/JavaCollectionsFrameworkCheatSheet
Author   nlharri
🌐
Studocu
studocu.com › visvesvaraya technological university › programming in java › java collections cheat sheet: performance & notable libraries
Java Collections Cheat Sheet: Performance & Notable Libraries - Studocu
August 8, 2023 - Java Collections Cheat Sheet · Notable Java collections · libraries · Fastutil · http://fastutil.di.unimi.it/ Fast & compact type-specific collections for Java · Great default choice for collections of primitive · types, like int or long. Also handles big · collections with more than 231 elements well. Guava · https://github.com/google/guava ·
🌐
GitHub
github.com › jdbirla › Jrebel › blob › master › java-collections-cheat-sheet.pdf
Jrebel/java-collections-cheat-sheet.pdf at master · jdbirla/Jrebel
This repo contains jrebel chat sheets. Contribute to jdbirla/Jrebel development by creating an account on GitHub.
Author   jdbirla
🌐
Medium
medium.com › @sureshkumar_95502 › java-collections-cheat-sheet-9823a5a6608
Java Collections Cheat Sheet. This post gives you a quick and good… | by Suresh Kumar | Medium
December 7, 2024 - This post gives you a quick and good reference/recap of complete Java Collections, in about 15 minutes. Java Collections are used to store and manipulate multiple data items during Application run time.
🌐
Restack
restack.io › p › java-collections-performance-answer-cheat-sheet
Java Collections Performance Cheat Sheet | Restackio
April 30, 2025 - To aid in quick decision-making, here’s a cheat sheet summarizing the performance of Java collections:
🌐
Medium
tusharghosh09006.medium.com › cheat-sheet-on-java-collection-709ca96edc9d
Cheat Sheet on Java Collection. Over the past eight months, I have… | by Tushar Ghosh | Medium
July 17, 2023 - // Basic initialization Queue<Integer> pQueue = new PriorityQueu<>() // By default ASC // DSC PriorityQueue<Integer> pQueue = new PriorityQueue<Integer>(Collections.reverseOrder()); PriorityQueue<Integer> pQueue = new PriorityQueue<Integer>((a, b) -> b - a); pQueue.isEmpty() // returns true/false pQueue.peek() // returns the first element of the queue and don't remove // Add item pQueue.offer(10); // add end of the priority queue.
🌐
JRebel
jrebel.com › system › files › 2025-05 › java-collections-cheat-sheet.pdf pdf
How fast are your collections? Collection class Random access by index / key
Java Collections Cheat Sheet · Notable Java collections · libraries · Fastutil · http://fastutil.di.unimi.it/ Fast & compact type-specific collections for Java · Great default choice for collections of primitive · types, like int or long. Also handles big · collections with more than 231 elements well. Guava · https://github.com/google/guava ·
🌐
StudyLib
studylib.net › doc › 26040978 › java-collections-cheat-sheet
Java Collections Cheat Sheet: Performance & Features
January 29, 2025 - Primitive support Order of iteration FIFO Sorted Performant ‘contains’ check LIFO Random access By key * IntArrayList (Fastutil) PriorityQueue PriorityBlockingQueue ArrayDeque ArrayBlockingQueue ** ** * O(log(n)) complexity, while all others are O(1) - constant time ** ** when using Queue interface methods: offer() / poll() How fast are your collections? need: primitive type collections, multimaps, https://github.com/JCTools/JCTools Duplicate element support Int2IntMap (Fastutil) includes almost any collection you might JCTools Key-value pairs * Previously known as gs-collections, this library bidirectional maps and so on.
🌐
Pro IT Academy
proitacademy.in › home › java collections framework: explained with cheat sheet
Java Collections Framework Explained with Cheat Sheet
April 14, 2025 - Here’s a quick reference cheat sheet that can help you identify the right collection for your needs: Use Collections.sort(list) with custom Comparator. Convert between collections using constructors (e.g., new ArrayList<>(set)). Use enhanced for-loops or streams for iteration.