2013-12-24 15:11:18 +02:00
|
|
|
|
=========
|
|
|
|
|
|
|
|
|
|
## Core Java Cookbooks and Examples
|
|
|
|
|
|
|
|
|
|
### Relevant Articles:
|
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
|
|
|
|
- [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)
|
2016-10-23 11:25:09 +02:00
|
|
|
|
- [A Guide to Java Sockets](http://www.baeldung.com/a-guide-to-java-sockets)
|
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-12 01:10:01 +06:00
|
|
|
|
- [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)
|
2017-01-08 13:25:59 +06:00
|
|
|
|
- [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)
|
2017-01-20 04:10:13 +06:00
|
|
|
|
- [How to Create an Executable JAR with Maven](http://www.baeldung.com/executable-jar-with-maven)
|
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
|
|
|
|
- [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)
|
2017-03-18 20:25:06 +01:00
|
|
|
|
- [Java Money and the Currency API](http://www.baeldung.com/java-money-and-currency)
|
2017-04-18 22:20:20 +02:00
|
|
|
|
- [JVM Log Forging](http://www.baeldung.com/jvm-log-forging)
|
|
|
|
|
- [Guide to sun.misc.Unsafe](http://www.baeldung.com/java-unsafe)
|
2017-04-29 13:36:05 -05:00
|
|
|
|
- [How to Perform a Simple HTTP Request in Java](http://www.baeldung.com/java-http-request)
|
2017-05-23 07:58:17 -05:00
|
|
|
|
- [How to Add a Single Element to a Stream](http://www.baeldung.com/java-stream-append-prepend)
|
2017-05-24 19:46:01 +03:00
|
|
|
|
- [Kotlin Java Interoperability](http://www.baeldung.com/kotlin-java-interoperability)
|
2017-07-13 19:43:43 +06:00
|
|
|
|
- [How to Find all Getters Returning Null](http://www.baeldung.com/java-getters-returning-null)
|
|
|
|
|
- [How to Get a Name of a Method Being Executed?](http://www.baeldung.com/java-name-of-executing-method)
|
2017-06-15 18:44:44 +02:00
|
|
|
|
- [Converting a Stack Trace to a String in Java](http://www.baeldung.com/java-stacktrace-to-string)
|
|
|
|
|
- [Introduction to Java Serialization](http://www.baeldung.com/java-serialization)
|
|
|
|
|
- [Guide to UUID in Java](http://www.baeldung.com/java-uuid)
|
|
|
|
|
- [Guide to Escaping Characters in Java RegExps](http://www.baeldung.com/java-regexp-escape-char)
|
2017-09-16 15:26:29 +06:00
|
|
|
|
- [Difference between URL and URI](http://www.baeldung.com/java-url-vs-uri)
|
|
|
|
|
- [Broadcasting and Multicasting in Java](http://www.baeldung.com/java-broadcast-multicast)
|
2017-08-25 18:39:12 +01:00
|
|
|
|
- [Period and Duration in Java](http://www.baeldung.com/java-period-duration)
|
2017-10-15 13:55:42 +02:00
|
|
|
|
- [OutOfMemoryError: GC Overhead Limit Exceeded](http://www.baeldung.com/java-gc-overhead-limit-exceeded)
|
2017-11-14 11:37:36 +02:00
|
|
|
|
- [Creating a Java Compiler Plugin](http://www.baeldung.com/java-build-compiler-plugin)
|
2017-12-12 12:32:35 +06:00
|
|
|
|
- [Quick Guide to Java Stack](http://www.baeldung.com/java-stack)
|
|
|
|
|
- [Guide to java.util.Formatter](http://www.baeldung.com/java-string-formatter)
|
2017-12-25 22:13:39 -06:00
|
|
|
|
- [Guide to the Cipher Class](http://www.baeldung.com/java-cipher-class)
|
2018-01-06 11:35:44 +02:00
|
|
|
|
- [Implementing a Binary Tree in Java](http://www.baeldung.com/java-binary-tree)
|
2018-01-06 11:28:35 +02:00
|
|
|
|
- [A Guide to ThreadLocalRandom in Java](http://www.baeldung.com/java-thread-local-random)
|
2018-02-24 08:19:12 +01:00
|
|
|
|
- [Compiling Java *.class Files with javac](http://www.baeldung.com/javac)
|
2018-03-02 22:40:04 +06:00
|
|
|
|
- [A Guide to Iterator in Java](http://www.baeldung.com/java-iterator)
|
|
|
|
|
- [The Trie Data Structure in Java](http://www.baeldung.com/trie-java)
|
|
|
|
|
- [Introduction to Javadoc](http://www.baeldung.com/javadoc)
|
2018-03-18 18:16:04 +02:00
|
|
|
|
- [Guide to Externalizable Interface in Java](http://www.baeldung.com/java-externalizable)
|
2018-04-11 11:33:18 +06:00
|
|
|
|
- [A Practical Guide to DecimalFormat](http://www.baeldung.com/java-decimalformat)
|
|
|
|
|
- [How to Detect the OS Using Java](http://www.baeldung.com/java-detect-os)
|
|
|
|
|
- [ASCII Art in Java](http://www.baeldung.com/ascii-art-in-java)
|
2018-04-25 21:25:11 +05:30
|
|
|
|
- [Finding Max/Min of a List or Collection](http://www.baeldung.com/java-collection-min-max)
|
2018-05-02 13:11:09 +05:30
|
|
|
|
- [What is the serialVersionUID?](http://www.baeldung.com/java-serial-version-uid)
|
|
|
|
|
- [A Guide To UDP In Java](http://www.baeldung.com/udp-in-java)
|
|
|
|
|
- [A Guide to the Java LinkedList](http://www.baeldung.com/java-linkedlist)
|
|
|
|
|
- [A Guide to the ResourceBundle](http://www.baeldung.com/java-resourcebundle)
|
|
|
|
|
- [Class Loaders in Java](http://www.baeldung.com/java-classloaders)
|
|
|
|
|
- [Java List UnsupportedOperationException](http://www.baeldung.com/java-list-unsupported-operation-exception)
|
2018-05-03 19:44:44 +06:00
|
|
|
|
- [Join and Split Arrays and Collections in Java](http://www.baeldung.com/java-join-and-split)
|
|
|
|
|
- [Check If Two Lists are Equal in Java](http://www.baeldung.com/java-test-a-list-for-ordinality-and-equality)
|
|
|
|
|
- [Sending Emails with Java](http://www.baeldung.com/java-email)
|
|
|
|
|
- [Introduction to SSL in Java](http://www.baeldung.com/java-ssl)
|
|
|
|
|
- [Java KeyStore API](http://www.baeldung.com/java-keystore)
|
2018-05-23 20:25:32 +05:30
|
|
|
|
- [Double-Checked Locking with Singleton](http://www.baeldung.com/java-singleton-double-checked-locking)
|
2018-05-04 20:53:53 +02:00
|
|
|
|
- [Guide to Java Clock Class](http://www.baeldung.com/java-clock)
|
2018-06-10 14:41:07 +08:00
|
|
|
|
- [Introduction to Creational Design Patterns](http://www.baeldung.com/creational-design-patterns)
|
|
|
|
|
- [Proxy, Decorator, Adapter and Bridge Patterns](http://www.baeldung.com/java-structural-design-patterns)
|
|
|
|
|
- [Singletons in Java](http://www.baeldung.com/java-singleton)
|
|
|
|
|
- [Flyweight Pattern in Java](http://www.baeldung.com/java-flyweight)
|
|
|
|
|
- [The Observer Pattern in Java](http://www.baeldung.com/java-observer-pattern)
|
|
|
|
|
- [Service Locator Pattern](http://www.baeldung.com/java-service-locator-pattern)
|
2018-06-14 01:50:33 +08:00
|
|
|
|
- [The Thread.join() Method in Java](http://www.baeldung.com/java-thread-join)
|
2018-06-30 08:28:44 -05:00
|
|
|
|
- [Importance of Main Manifest Attribute in a Self-Executing JAR](http://www.baeldung.com/java-jar-executable-manifest-main-class)
|
2018-07-06 13:25:49 +06:00
|
|
|
|
- [How to Get the File Extension of a File in Java](http://www.baeldung.com/java-file-extension)
|
2018-07-08 10:12:13 -05:00
|
|
|
|
- [Console I/O in Java](http://www.baeldung.com/java-console-input-output)
|
2018-07-25 01:21:55 +08:00
|
|
|
|
- [Java Global Exception Handler](http://www.baeldung.com/java-global-exception-handler)
|
|
|
|
|
- [Encrypting and Decrypting Files in Java](http://www.baeldung.com/java-cipher-input-output-stream)
|
|
|
|
|
- [How to Get the Size of an Object in Java](http://www.baeldung.com/java-size-of-object)
|
2018-08-06 02:30:25 +08:00
|
|
|
|
- [Guide to Java Instrumentation](http://www.baeldung.com/java-instrumentation)
|
|
|
|
|
- [Getting a File’s Mime Type in Java](http://www.baeldung.com/java-file-mime-type)
|
2018-08-06 18:04:56 +06:00
|
|
|
|
- [Common Java Exceptions](http://www.baeldung.com/java-common-exceptions)
|
2018-08-18 19:29:20 -05:00
|
|
|
|
- [Java Constructors vs Static Factory Methods](https://www.baeldung.com/java-constructors-vs-static-factory-methods)
|
2018-09-07 16:56:13 +06:00
|
|
|
|
- [Java List Initialization in One Line](https://www.baeldung.com/java-init-list-one-line)
|
|
|
|
|
- [ClassCastException: Arrays$ArrayList cannot be cast to ArrayList](https://www.baeldung.com/java-classcastexception-arrays-arraylist)
|
|
|
|
|
- [Throw Exception in Optional in Java 8](https://www.baeldung.com/java-optional-throw-exception)
|
2018-09-07 07:41:52 +01:00
|
|
|
|
- [Add a Character to a String at a Given Position](https://www.baeldung.com/java-add-character-to-string)
|
2018-10-08 20:35:36 +02:00
|
|
|
|
- [Calculating the nth Root in Java](https://www.baeldung.com/java-nth-root)
|
2018-10-13 02:22:56 +06:00
|
|
|
|
- [Convert Double to String, Removing Decimal Places](https://www.baeldung.com/java-double-to-string)
|
|
|
|
|
- [Different Ways to Capture Java Heap Dumps](https://www.baeldung.com/java-heap-dump-capture)
|
|
|
|
|
- [ZoneOffset in Java](https://www.baeldung.com/java-zone-offset)
|
|
|
|
|
- [Hashing a Password in Java](https://www.baeldung.com/java-password-hashing)
|
2018-10-31 10:47:32 -07:00
|
|
|
|
- [Merging java.util.Properties Objects](https://www.baeldung.com/java-merging-properties)
|
2018-11-04 13:10:56 -06:00
|
|
|
|
- [Understanding Memory Leaks in Java](https://www.baeldung.com/java-memory-leaks)
|
2018-11-09 04:23:23 +08:00
|
|
|
|
- [A Guide to SimpleDateFormat](https://www.baeldung.com/java-simple-date-format)
|
2018-11-06 10:46:21 -08:00
|
|
|
|
- [SSL Handshake Failures](https://www.baeldung.com/java-ssl-handshake-failures)
|