2018-04-29 02:38:59 -04:00
|
|
|
=========
|
|
|
|
|
|
|
|
## Core Java Collections Cookbooks and Examples
|
|
|
|
|
|
|
|
### Relevant Articles:
|
|
|
|
- [Immutable ArrayList in Java](http://www.baeldung.com/java-immutable-list)
|
|
|
|
- [Converting between an Array and a List in Java](http://www.baeldung.com/convert-array-to-list-and-list-to-array)
|
|
|
|
- [Converting between an Array and a Set in Java](http://www.baeldung.com/convert-array-to-set-and-set-to-array)
|
|
|
|
- [Converting between a List and a Set in Java](http://www.baeldung.com/convert-list-to-set-and-set-to-list)
|
|
|
|
- [Convert a Map to an Array, List or Set in Java](http://www.baeldung.com/convert-map-values-to-array-list-set)
|
|
|
|
- [Guide to the Java ArrayList](http://www.baeldung.com/java-arraylist)
|
|
|
|
- [Random List Element](http://www.baeldung.com/java-random-list-element)
|
|
|
|
- [Java - Combine Multiple Collections](http://www.baeldung.com/java-combine-multiple-collections)
|
|
|
|
- [Guide to WeakHashMap in Java](http://www.baeldung.com/java-weakhashmap)
|
|
|
|
- [Guide to the Guava BiMap](http://www.baeldung.com/guava-bimap)
|
|
|
|
- [The Java HashMap Under the Hood](http://www.baeldung.com/java-hashmap)
|
|
|
|
- [A Guide to LinkedHashMap in Java](http://www.baeldung.com/java-linked-hashmap)
|
|
|
|
- [A Guide to TreeMap in Java](http://www.baeldung.com/java-treemap)
|
|
|
|
- [Removing all nulls from a List in Java](http://www.baeldung.com/java-remove-nulls-from-list)
|
|
|
|
- [Removing all duplicates from a List in Java](http://www.baeldung.com/java-remove-duplicates-from-list)
|
|
|
|
- [Flattening Nested Collections in Java](http://www.baeldung.com/java-flatten-nested-collections)
|
|
|
|
- [HashSet and TreeSet Comparison](http://www.baeldung.com/java-hashset-vs-treeset)
|
|
|
|
- [Iterate over a Map in Java](http://www.baeldung.com/java-iterate-map)
|
|
|
|
- [Collect a Java Stream to an Immutable Collection](http://www.baeldung.com/java-stream-immutable-collection)
|
|
|
|
- [Converting a List to String in Java](http://www.baeldung.com/java-list-to-string)
|
|
|
|
- [Introduction to the Java ArrayDeque](http://www.baeldung.com/java-array-deque)
|
|
|
|
- [A Guide to HashSet in Java](http://www.baeldung.com/java-hashset)
|
|
|
|
- [A Guide to TreeSet in Java](http://www.baeldung.com/java-tree-set)
|
|
|
|
- [Java TreeMap vs HashMap](http://www.baeldung.com/java-treemap-vs-hashmap)
|
2018-04-29 11:20:59 -04:00
|
|
|
- [How to TDD a List Implementation in Java](http://www.baeldung.com/java-test-driven-list)
|
2018-05-23 10:55:32 -04:00
|
|
|
- [How to Store Duplicate Keys in a Map in Java?](http://www.baeldung.com/java-map-duplicate-keys)
|
2018-06-01 08:04:12 -04:00
|
|
|
- [Getting the Size of an Iterable in Java](http://www.baeldung.com/java-iterable-size)
|
2018-07-24 13:21:55 -04:00
|
|
|
- [Iterating Backward Through a List](http://www.baeldung.com/java-list-iterate-backwards)
|
2018-08-06 08:04:56 -04:00
|
|
|
- [How to Filter a Collection in Java](http://www.baeldung.com/java-collection-filtering)
|
|
|
|
- [Add Multiple Items to an Java ArrayList](http://www.baeldung.com/java-add-items-array-list)
|
2018-08-05 14:30:25 -04:00
|
|
|
- [Remove the First Element from a List](http://www.baeldung.com/java-remove-first-element-from-list)
|
|
|
|
- [How to Convert List to Map in Java](http://www.baeldung.com/java-list-to-map)
|
|
|
|
- [Initializing HashSet at the Time of Construction](http://www.baeldung.com/java-initialize-hashset)
|
2018-08-19 19:04:18 -04:00
|
|
|
- [Removing the First Element of an Array](https://www.baeldung.com/java-array-remove-first-element)
|
2018-09-01 16:07:11 -04:00
|
|
|
- [Fail-Safe Iterator vs Fail-Fast Iterator](http://www.baeldung.com/java-fail-safe-vs-fail-fast-iterator)
|
|
|
|
- [Shuffling Collections In Java](http://www.baeldung.com/java-shuffle-collection)
|
|
|
|
- [How to Find an Element in a List with Java](http://www.baeldung.com/find-list-element-java)
|
|
|
|
- [An Introduction to Java.util.Hashtable Class](http://www.baeldung.com/java-hash-table)
|
|
|
|
- [Copy a List to Another List in Java](http://www.baeldung.com/java-copy-list-to-another)
|
|
|
|
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)
|
2018-09-07 06:56:13 -04:00
|
|
|
- [Java Null-Safe Streams from Collections](https://www.baeldung.com/java-null-safe-streams-from-collections)
|
|
|
|
- [Remove All Occurrences of a Specific Value from a List](https://www.baeldung.com/java-remove-value-from-list)
|
|
|
|
- [Thread Safe LIFO Data Structure Implementations](https://www.baeldung.com/java-lifo-thread-safe)
|
|
|
|
- [Collections.emptyList() vs. New List Instance](https://www.baeldung.com/java-collections-emptylist-new-list)
|
|
|
|
- [Initialize a HashMap in Java](https://www.baeldung.com/java-initialize-hashmap)
|
|
|
|
- [](https://www.baeldung.com/java-hashset-arraylist-contains-performance)
|