|
3 | 3 | ## Core Java Cookbooks and Examples
|
4 | 4 |
|
5 | 5 | ### Relevant Articles:
|
6 |
| -- [Immutable ArrayList in Java](http://www.baeldung.com/java-immutable-list) |
7 |
| -- [Java - Reading a Large File Efficiently](http://www.baeldung.com/java-read-lines-large-file) |
8 |
| -- [Java InputStream to String](http://www.baeldung.com/convert-input-stream-to-string) |
9 |
| -- [Converting between an Array and a List in Java](http://www.baeldung.com/convert-array-to-list-and-list-to-array) |
10 |
| -- [Converting between an Array and a Set in Java](http://www.baeldung.com/convert-array-to-set-and-set-to-array) |
11 |
| -- [Converting between a List and a Set in Java](http://www.baeldung.com/convert-list-to-set-and-set-to-list) |
12 |
| -- [Convert a Map to an Array, List or Set in Java](http://www.baeldung.com/convert-map-values-to-array-list-set) |
13 |
| -- [Java – Write to File](http://www.baeldung.com/java-write-to-file) |
14 |
| -- [Java - Convert File to InputStream](http://www.baeldung.com/convert-file-to-input-stream) |
15 |
| -- [Java – Random Long, Float, Integer and Double](http://www.baeldung.com/java-generate-random-long-float-integer-double) |
16 |
| -- [Java – Generate Random String](http://www.baeldung.com/java-random-string) |
17 |
| -- [Java Scanner](http://www.baeldung.com/java-scanner) |
18 |
| -- [Java Timer](http://www.baeldung.com/java-timer-and-timertask) |
19 |
| -- [Java – Byte Array to Writer](http://www.baeldung.com/java-convert-byte-array-to-writer) |
20 |
| -- [How to Run a Shell Command in Java](http://www.baeldung.com/run-shell-command-in-java) |
21 |
| -- [MD5 Hashing in Java](http://www.baeldung.com/java-md5) |
22 |
| -- [Guide to the Java ArrayList](http://www.baeldung.com/java-arraylist) |
23 |
| -- [Guide to Java Reflection](http://www.baeldung.com/java-reflection) |
24 |
| -- [A Guide to Java Sockets](http://www.baeldung.com/a-guide-to-java-sockets) |
25 |
| -- [Convert char to String in Java](http://www.baeldung.com/java-convert-char-to-string) |
26 |
| -- [Random List Element](http://www.baeldung.com/java-random-list-element) |
27 |
| -- [Convert String to int or Integer in Java](http://www.baeldung.com/java-convert-string-to-int-or-integer) |
28 |
| -- [Java – Directory Size](http://www.baeldung.com/java-folder-size) |
29 |
| -- [Java – Try with Resources](http://www.baeldung.com/java-try-with-resources) |
30 |
| -- [Guide to the Fork/Join Framework in Java](http://www.baeldung.com/java-fork-join) |
31 |
| -- [How to Print Screen in Java](http://www.baeldung.com/print-screen-in-java) |
32 |
| -- [How to Convert String to different data types in Java](http://www.baeldung.com/java-string-conversions) |
33 |
| -- [Introduction to Java Generics](http://www.baeldung.com/java-generics) |
34 |
| -- [Generate equals() and hashCode() with Eclipse](http://www.baeldung.com/java-eclipse-equals-and-hashcode) |
35 |
| -- [A Guide To Java Regular Expressions API](http://www.baeldung.com/regular-expressions-java) |
36 |
| -- [Sorting in Java](http://www.baeldung.com/java-sorting) |
37 |
| -- [Getting Started with Java Properties](http://www.baeldung.com/java-properties) |
38 |
| -- [Grep in Java](http://www.baeldung.com/grep-in-java) |
39 |
| -- [Java - Combine Multiple Collections](http://www.baeldung.com/java-combine-multiple-collections) |
40 |
| -- [Simulated Annealing for Travelling Salesman Problem](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman) |
41 |
| -- [Slope One Algorithm: Collaborative Filtering Recommendation Systems](http://www.baeldung.com/java-collaborative-filtering-recommendations) |
42 |
| -- [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) |
43 |
| -- [Pattern Search with Grep in Java](http://www.baeldung.com/grep-in-java) |
44 |
| -- [URL Encoding and Decoding in Java](http://www.baeldung.com/java-url-encoding-decoding) |
45 |
| -- [Calculate the Size of a File in Java](http://www.baeldung.com/java-file-size) |
46 |
| -- [The Basics of Java Generics](http://www.baeldung.com/java-generics) |
47 |
| -- [The Traveling Salesman Problem in Java](http://www.baeldung.com/java-simulated-annealing-for-traveling-salesman) |
48 |
| -- [How to Create an Executable JAR with Maven](http://www.baeldung.com/executable-jar-with-maven) |
49 |
| -- [How to Design a Genetic Algorithm in Java](http://www.baeldung.com/java-genetic-algorithm) |
50 |
| -- [Guide to WeakHashMap in Java](http://www.baeldung.com/java-weakhashmap) |
51 |
| -- [Spring Security – Cache Control Headers](http://www.baeldung.com/spring-security-cache-control-headers) |
52 |
| -- [Basic Introduction to JMX](http://www.baeldung.com/java-management-extensions) |
53 |
| -- [AWS Lambda With Java](http://www.baeldung.com/java-aws-lambda) |
54 |
| -- [Introduction to Nashorn](http://www.baeldung.com/java-nashorn) |
55 |
| -- [Guide to the Guava BiMap](http://www.baeldung.com/guava-bimap) |
56 |
| -- [Iterable to Stream in Java](http://www.baeldung.com/java-iterable-to-stream) |
57 |
| -- [Chained Exceptions in Java](http://www.baeldung.com/java-chained-exceptions) |
58 |
| -- [The Java HashMap Under the Hood](http://www.baeldung.com/java-hashmap) |
59 |
| -- [A Guide to LinkedHashMap in Java](http://www.baeldung.com/java-linked-hashmap) |
60 |
| -- [A Guide to TreeMap in Java](http://www.baeldung.com/java-treemap) |
61 |
| -- [A Quick JUnit vs TestNG Comparison](http://www.baeldung.com/junit-vs-testng) |
62 |
| -- [Java Primitive Conversions](http://www.baeldung.com/java-primitive-conversions) |
63 |
| -- [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency) |
64 |
| -- [Removing all nulls from a List in Java](http://www.baeldung.com/java-remove-nulls-from-list) |
65 |
| -- [Removing all duplicates from a List in Java](http://www.baeldung.com/java-remove-duplicates-from-list) |
66 |
| -- [Using Math.pow in Java](http://www.baeldung.com/java-math-pow) |
67 |
| -- [Converting Strings to Enums in Java](http://www.baeldung.com/java-string-to-enum) |
68 |
| -- [Flattening Nested Collections in Java](http://www.baeldung.com/java-flatten-nested-collections) |
69 |
| -- [Quick Guide to the Java StringTokenizer](http://www.baeldung.com/java-stringtokenizer) |
70 |
| -- [JVM Log Forging](http://www.baeldung.com/jvm-log-forging) |
71 |
| -- [Guide to sun.misc.Unsafe](http://www.baeldung.com/java-unsafe) |
72 |
| -- [HashSet and TreeSet Comparison](http://www.baeldung.com/java-hashset-vs-treeset) |
73 |
| -- [How to Perform a Simple HTTP Request in Java](http://www.baeldung.com/java-http-request) |
74 |
| -- [Call Methods at Runtime Using Java Reflection](http://www.baeldung.com/java-method-reflection) |
75 |
| -- [Guide to UUID in JAVA](http://www.baeldung.com/guide-to-uuid-in-java) |
76 |
| -- [Comparing getPath(), getAbsolutePath(), and getCanonicalPath() in Java](http://www.baeldung.com/java-path) |
77 |
| -- [How to Add a Single Element to a Stream](http://www.baeldung.com/java-stream-append-prepend) |
78 |
| -- [Iterating Over Enum Values in Java](http://www.baeldung.com/java-enum-iteration) |
79 |
| -- [Kotlin Java Interoperability](http://www.baeldung.com/kotlin-java-interoperability) |
80 |
| -- [Using Java MappedByteBuffer](http://www.baeldung.com/java-mapped-byte-buffer) |
81 |
| -- [How to Round a Number to N Decimal Places in Java](http://www.baeldung.com/java-round-decimal-number) |
82 |
| -- [Changing Annotation Parameters At Runtime](http://www.baeldung.com/java-reflection-change-annotation-params) |
83 |
| -- [How to Find all Getters Returning Null](http://www.baeldung.com/java-getters-returning-null) |
84 |
| -- [Converting String to Stream of chars](http://www.baeldung.com/java-string-to-stream) |
85 |
| -- [Changing the Order in a Sum Operation Can Produce Different Results?](http://www.baeldung.com/java-floating-point-sum-order) |
86 |
| -- [How to Get a Name of a Method Being Executed?](http://www.baeldung.com/java-name-of-executing-method) |
87 |
| -- [Iterate over a Map in Java](http://www.baeldung.com/java-iterate-map) |
88 |
| -- [Dynamic Proxies in Java](http://www.baeldung.com/java-dynamic-proxies) |
89 |
| -- [How to Copy an Array in Java](http://www.baeldung.com/java-array-copy) |
90 |
| -- [Introduction to JDBC](http://www.baeldung.com/java-jdbc) |
91 |
| -- [Period and Duration in Java](http://www.baeldung.com/java-period-duration) |
92 |
| -- [Converting a Stack Trace to a String in Java](http://www.baeldung.com/java-stacktrace-to-string) |
93 |
| -- [Count Occurrences of a Char in a String](http://www.baeldung.com/java-count-chars) |
94 |
| -- [Java Double Brace Initialization](http://www.baeldung.com/java-double-brace-initialization) |
95 |
| -- [The StackOverflowError in Java](http://www.baeldung.com/java-stack-overflow-error) |
96 |
| -- [Split a String in Java](http://www.baeldung.com/java-split-string) |
97 |
| -- [Introduction to Java Serialization](http://www.baeldung.com/java-serialization) |
98 |
| -- [How to Remove the Last Character of a String?](http://www.baeldung.com/java-remove-last-character-of-string) |
99 |
| -- [ClassNotFoundException vs NoClassDefFoundError](http://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror) |
100 |
| -- [Guide to UUID in Java](http://www.baeldung.com/java-uuid) |
101 |
| -- [Guide to Escaping Characters in Java RegExps](http://www.baeldung.com/java-regexp-escape-char) |
102 |
| -- [Guide to hashCode() in Java](http://www.baeldung.com/java-hashcode) |
103 |
| -- [Collect a Java Stream to an Immutable Collection](http://www.baeldung.com/java-stream-immutable-collection) |
104 |
| -- [Difference between URL and URI](http://www.baeldung.com/java-url-vs-uri) |
105 |
| -- [Broadcasting and Multicasting in Java](http://www.baeldung.com/java-broadcast-multicast) |
106 |
| -- [Converting a List to String in Java](http://www.baeldung.com/java-list-to-string) |
107 |
| -- [CharSequence vs. String in Java](http://www.baeldung.com/java-char-sequence-string) |
108 |
| -- [Period and Duration in Java](http://www.baeldung.com/java-period-duration) |
109 |
| -- [Guide to the Diamond Operator in Java](http://www.baeldung.com/java-diamond-operator) |
110 |
| -- [Singletons in Java](http://www.baeldung.com/java-singleton) |
111 |
| -- [“Sneaky Throws” in Java](http://www.baeldung.com/java-sneaky-throws) |
112 |
| -- [OutOfMemoryError: GC Overhead Limit Exceeded](http://www.baeldung.com/java-gc-overhead-limit-exceeded) |
113 |
| -- [How to Iterate Over a Stream With Indices](http://www.baeldung.com/java-stream-indices) |
114 |
| -- [StringBuilder and StringBuffer in Java](http://www.baeldung.com/java-string-builder-string-buffer) |
115 |
| -- [Number of Digits in an Integer in Java](http://www.baeldung.com/java-number-of-digits-in-int) |
116 |
| -- [Proxy, Decorator, Adapter and Bridge Patterns](http://www.baeldung.com/java-structural-design-patterns) |
117 | 6 | - [Creating a Java Compiler Plugin](http://www.baeldung.com/java-build-compiler-plugin)
|
118 |
| -- [A Guide to the Static Keyword in Java](http://www.baeldung.com/java-static) |
119 |
| -- [Initializing Arrays in Java](http://www.baeldung.com/java-initialize-array) |
120 |
| -- [Guide to Java String Pool](http://www.baeldung.com/java-string-pool) |
121 |
| -- [Copy a File with Java](http://www.baeldung.com/java-copy-file) |
122 |
| -- [Introduction to Creational Design Patterns](http://www.baeldung.com/creational-design-patterns) |
123 |
| - |
0 commit comments