2013-12-24 15:11:18 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								=========
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								## Core Java Cookbooks and Examples
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								### Relevant Articles: 
  
						 
					
						
							
								
									
										
										
										
											2013-12-26 22:08:32 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Immutable ArrayList in Java ](http://www.baeldung.com/java-immutable-list ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java - Reading a Large File Efficiently ](http://www.baeldung.com/java-read-lines-large-file ) 
						 
					
						
							
								
									
										
										
										
											2014-03-20 21:59:42 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java InputStream to String ](http://www.baeldung.com/convert-input-stream-to-string ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:01:25 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Converting between an Array and a List in Java ](http://www.baeldung.com/convert-array-to-list-and-list-to-array ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:02:58 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Converting between an Array and a Set in Java ](http://www.baeldung.com/convert-array-to-set-and-set-to-array ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:04:32 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Converting between a List and a Set in Java ](http://www.baeldung.com/convert-list-to-set-and-set-to-list ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:07:07 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Convert a Map to an Array, List or Set in Java ](http://www.baeldung.com/convert-map-values-to-array-list-set ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:22:55 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
										 
							
							
								-  [Java –  ](http://www.baeldung.com/java-write-to-file ) 
						 
					
						
							
								
									
										
										
										
											2016-02-08 12:44:18 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java Scanner ](http://www.baeldung.com/java-scanner ) 
						 
					
						
							
								
									
										
										
										
											2016-02-09 14:27:46 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java Timer ](http://www.baeldung.com/java-timer-and-timertask ) 
						 
					
						
							
								
									
										
										
										
											2016-10-04 14:56:26 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
										 
							
							
								-  [Java –  ](http://www.baeldung.com/java-convert-byte-array-to-writer ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [How to Run a Shell Command in Java ](http://www.baeldung.com/run-shell-command-in-java ) 
						 
					
						
							
								
									
										
										
										
											2016-10-04 15:28:03 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [MD5 Hashing in Java ](http://www.baeldung.com/java-md5 ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to the Java ArrayList ](http://www.baeldung.com/java-arraylist ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to Java Reflection ](http://www.baeldung.com/java-reflection ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 11:25:09 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [A Guide to Java Sockets ](http://www.baeldung.com/a-guide-to-java-sockets ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 19:49:03 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java 8 Collectors ](http://www.baeldung.com/java-8-collectors ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 19:53:01 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide To CompletableFuture ](http://www.baeldung.com/java-completablefuture ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 19:55:41 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
										 
							
							
								-  [Guide to Java 8’  ](http://www.baeldung.com/java-8-functional-interfaces ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 21:22:07 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Convert char to String in Java ](http://www.baeldung.com/java-convert-char-to-string ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 21:24:20 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Random List Element ](http://www.baeldung.com/java-random-list-element ) 
						 
					
						
							
								
									
										
										
										
											2016-10-23 22:36:44 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Convert String to int or Integer in Java ](http://www.baeldung.com/java-convert-string-to-int-or-integer ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								-  [Java 8 –  ](http://www.baeldung.com/java-8-sort-lambda ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								-  [Java –  ](http://www.baeldung.com/java-folder-size ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								-  [Java –  ](http://www.baeldung.com/java-try-with-resources ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [A Guide to the Java ExecutorService ](http://www.baeldung.com/java-executor-service-tutorial ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java 8 New Features ](http://www.baeldung.com/java-8-new-features ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Lambda Expressions and Functional Interfaces: Tips and Best Practices ](http://www.baeldung.com/java-8-lambda-expressions-tips ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [The Double Colon Operator in Java 8 ](http://www.baeldung.com/java-8-double-colon-operator ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java 8 Streams Advanced ](http://www.baeldung.com/java-8-streams ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Introduction to Thread Pools in Java ](http://www.baeldung.com/thread-pool-java-and-guava ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Introduction to Java 8 Streams ](http://www.baeldung.com/java-8-streams-introduction ) 
						 
					
						
							
								
									
										
										
										
											2016-11-10 16:13:42 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to the Fork/Join Framework in Java ](http://www.baeldung.com/java-fork-join ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [How to Print Screen in Java ](http://www.baeldung.com/print-screen-in-java ) 
						 
					
						
							
								
									
										
										
										
											2016-11-13 13:10:28 +05:30 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [How to Convert String to different data types in Java ](http://www.baeldung.com/java-string-conversions ) 
						 
					
						
							
								
									
										
										
										
											2016-12-09 22:40:29 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Introduction to Java Generics ](http://www.baeldung.com/java-generics ) 
						 
					
						
							
								
									
										
										
										
											2016-11-12 01:10:01 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Generate equals() and hashCode() with Eclipse ](http://www.baeldung.com/java-eclipse-equals-and-hashcode ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [A Guide To Java Regular Expressions API ](http://www.baeldung.com/regular-expressions-java ) 
						 
					
						
							
								
									
										
										
										
											2016-12-18 14:15:07 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Sorting in Java ](http://www.baeldung.com/java-sorting ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Getting Started with Java Properties ](http://www.baeldung.com/java-properties ) 
						 
					
						
							
								
									
										
										
										
											2016-12-18 14:13:57 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Grep in Java ](http://www.baeldung.com/grep-in-java ) 
						 
					
						
							
								
									
										
										
										
											2016-12-18 18:03:11 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java - Combine Multiple Collections ](http://www.baeldung.com/java-combine-multiple-collections ) 
						 
					
						
							
								
									
										
										
										
											2016-12-19 19:13:52 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Simulated Annealing for Travelling Salesman Problem ](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman ) 
						 
					
						
							
								
									
										
										
										
											2017-01-08 13:25:59 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Slope One Algorithm: Collaborative Filtering Recommendation Systems ](http://www.baeldung.com/java-collaborative-filtering-recommendations ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Differences Between the Java WatchService API and the Apache Commons IO Monitor Library ](http://www.baeldung.com/java-watchservice-vs-apache-commons-io-monitor-library ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Pattern Search with Grep in Java ](http://www.baeldung.com/grep-in-java ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [URL Encoding and Decoding in Java ](http://www.baeldung.com/java-url-encoding-decoding ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Calculate the Size of a File in Java ](http://www.baeldung.com/java-file-size ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [The Basics of Java Generics ](http://www.baeldung.com/java-generics ) 
						 
					
						
							
								
									
										
										
										
											2017-01-20 04:10:13 +06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [The Traveling Salesman Problem in Java ](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [How to Create an Executable JAR with Maven ](http://www.baeldung.com/executable-jar-with-maven ) 
						 
					
						
							
								
									
										
										
										
											2017-02-01 09:42:32 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to java.util.concurrent.Future ](http://www.baeldung.com/java-future ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to java.util.concurrent.BlockingQueue ](http://www.baeldung.com/java-blocking-queue ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to CountDownLatch in Java ](http://www.baeldung.com/java-countdown-latch ) 
						 
					
						
							
								
									
										
										
										
											2017-02-12 07:32:40 -06:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [How to Design a Genetic Algorithm in Java ](http://www.baeldung.com/java-genetic-algorithm ) 
						 
					
						
							
								
									
										
										
										
											2017-02-19 22:22:43 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [A Guide to ConcurrentMap ](http://www.baeldung.com/java-concurrent-map ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to PriorityBlockingQueue in Java ](http://www.baeldung.com/java-priority-blocking-queue ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to Java 8 groupingBy Collector ](http://www.baeldung.com/java-groupingby-collector ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Avoiding the ConcurrentModificationException in Java ](http://www.baeldung.com/java-concurrentmodificationexception ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to WeakHashMap in Java ](http://www.baeldung.com/java-weakhashmap ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Strategy Design Pattern in Java 8 ](http://www.baeldung.com/java-strategy-pattern ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java 8 and Infinite Streams ](http://www.baeldung.com/java-inifinite-streams ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Custom Thread Pools In Java 8 Parallel Streams ](http://www.baeldung.com/java-8-parallel-streams-custom-threadpool ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [String Operations with Java Streams ](http://www.baeldung.com/java-stream-operations-on-strings ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
										 
							
							
								-  [Spring Security –  ](http://www.baeldung.com/spring-security-cache-control-headers ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Basic Introduction to JMX ](http://www.baeldung.com/java-management-extensions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [AWS Lambda With Java ](http://www.baeldung.com/java-aws-lambda ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Introduction to Nashorn ](http://www.baeldung.com/java-nashorn ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Exceptions in Java 8 Lambda Expressions ](http://www.baeldung.com/java-lambda-exceptions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to the Guava BiMap ](http://www.baeldung.com/guava-bimap ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Iterable to Stream in Java ](http://www.baeldung.com/java-iterable-to-stream ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java 8 Stream findFirst() vs. findAny() ](http://www.baeldung.com/java-stream-findfirst-vs-findany ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Chained Exceptions in Java ](http://www.baeldung.com/java-chained-exceptions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [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 ) 
						 
					
						
							
								
									
										
										
										
											2017-03-18 22:38:31 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [A Quick JUnit vs TestNG Comparison ](http://www.baeldung.com/junit-vs-testng ) 
						 
					
						
							
								
									
										
										
										
											2017-03-18 20:25:06 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
								
									
								 
							
							
								-  [Finding Max/Min of a List or Collection ](http://www.baeldung.com/java-collection-min-max ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Guide to java.util.concurrent.Locks ](http://www.baeldung.com/java-concurrent-locks ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java Primitive Conversions ](http://www.baeldung.com/java-primitive-conversions ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
								
									
								 
							
							
								-  [Java Money and the Currency API ](http://www.baeldung.com/java-money-and-currency ) 
						 
					
						
							
								
									
										
										
										
											2017-03-18 22:38:31 +01:00