| 
									
										
										
										
											2018-04-29 12:08:59 +05:30
										 |  |  | ========= | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## 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 17:20:59 +02:00
										 |  |  | - [How to TDD a List Implementation in Java](http://www.baeldung.com/java-test-driven-list) | 
					
						
							| 
									
										
										
										
											2018-06-01 18:04:12 +06:00
										 |  |  | - [Getting the Size of an Iterable in Java](http://www.baeldung.com/java-iterable-size) | 
					
						
							| 
									
										
										
										
											2018-07-25 01:21:55 +08:00
										 |  |  | - [Iterating Backward Through a List](http://www.baeldung.com/java-list-iterate-backwards) | 
					
						
							| 
									
										
										
										
											2018-08-06 18:04:56 +06: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-06 02:30:25 +08: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 18:04:18 -05:00
										 |  |  | - [Removing the First Element of an Array](https://www.baeldung.com/java-array-remove-first-element) | 
					
						
							| 
									
										
										
										
											2018-09-02 01:37:11 +05:30
										 |  |  | - [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 16:56:13 +06: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 20:21:35 +02:00
										 |  |  | - [Differences Between Collection.clear() and Collection.removeAll()](https://www.baeldung.com/java-collection-clear-vs-removeall) | 
					
						
							| 
									
										
										
										
											2018-09-27 15:09:58 +08: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-13 02:22:56 +06:00
										 |  |  | - [Operating on and Removing an Item from Stream](https://www.baeldung.com/java-use-remove-item-stream) | 
					
						
							| 
									
										
										
										
											2018-10-18 21:55:28 -05:00
										 |  |  | - [An Introduction to Synchronized Java Collections](https://www.baeldung.com/java-synchronized-collections) | 
					
						
							| 
									
										
										
										
											2018-10-23 16:57:41 +08:00
										 |  |  | - [Guide to EnumSet](https://www.baeldung.com/java-enumset) |