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)
|
|
|
|
- [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)
|
|
|
|
- [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)
|
|
|
|
- [Collect a Java Stream to an Immutable Collection](http://www.baeldung.com/java-stream-immutable-collection)
|
|
|
|
- [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)
|
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-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)
|
|
|
|
- [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)
|
2018-09-17 14:21:35 -04:00
|
|
|
- [Differences Between Collection.clear() and Collection.removeAll()](https://www.baeldung.com/java-collection-clear-vs-removeall)
|
2018-09-27 03:09:58 -04:00
|
|
|
- [Performance of contains() in a HashSet vs ArrayList](https://www.baeldung.com/java-hashset-arraylist-contains-performance)
|
|
|
|
- [Time Complexity of Java Collections](https://www.baeldung.com/java-collections-complexity)
|
2018-10-12 16:22:56 -04:00
|
|
|
- [Operating on and Removing an Item from Stream](https://www.baeldung.com/java-use-remove-item-stream)
|
2018-10-18 22:55:28 -04:00
|
|
|
- [An Introduction to Synchronized Java Collections](https://www.baeldung.com/java-synchronized-collections)
|
2018-10-23 04:57:41 -04:00
|
|
|
- [Guide to EnumSet](https://www.baeldung.com/java-enumset)
|