12 KiB
12 KiB
=========
Core Java Cookbooks and Examples
Relevant Articles:
- Java Timer
- How to Run a Shell Command in Java
- MD5 Hashing in Java
- Guide to Java Reflection
- A Guide to Java Sockets
- Java – Try with Resources
- Guide to the Fork/Join Framework in Java
- How to Print Screen in Java
- Introduction to Java Generics
- Generate equals() and hashCode() with Eclipse
- A Guide To Java Regular Expressions API
- Sorting in Java
- Getting Started with Java Properties
- Grep in Java
- Simulated Annealing for Travelling Salesman Problem
- Slope One Algorithm: Collaborative Filtering Recommendation Systems
- Pattern Search with Grep in Java
- URL Encoding and Decoding in Java
- The Basics of Java Generics
- The Traveling Salesman Problem in Java
- How to Create an Executable JAR with Maven
- How to Design a Genetic Algorithm in Java
- Basic Introduction to JMX
- AWS Lambda With Java
- Introduction to Nashorn
- Chained Exceptions in Java
- A Quick JUnit vs TestNG Comparison
- Java Primitive Conversions
- Java Money and the Currency API
- JVM Log Forging
- Guide to sun.misc.Unsafe
- How to Perform a Simple HTTP Request in Java
- Call Methods at Runtime Using Java Reflection
- How to Add a Single Element to a Stream
- Iterating Over Enum Values in Java
- Kotlin Java Interoperability
- Changing Annotation Parameters At Runtime
- How to Find all Getters Returning Null
- Changing the Order in a Sum Operation Can Produce Different Results?
- How to Get a Name of a Method Being Executed?
- Dynamic Proxies in Java
- How to Copy an Array in Java
- Converting a Stack Trace to a String in Java
- Java Double Brace Initialization
- The StackOverflowError in Java
- Introduction to Java Serialization
- ClassNotFoundException vs NoClassDefFoundError
- Guide to UUID in Java
- Guide to Escaping Characters in Java RegExps
- Guide to hashCode() in Java
- Difference between URL and URI
- Broadcasting and Multicasting in Java
- Period and Duration in Java
- Guide to the Diamond Operator in Java
- “Sneaky Throws” in Java
- OutOfMemoryError: GC Overhead Limit Exceeded
- Creating a Java Compiler Plugin
- A Guide to the Static Keyword in Java
- Initializing Arrays in Java
- Quick Example - Comparator vs Comparable in Java
- Quick Guide to Java Stack
- The Java continue and break Keywords
- Guide to java.util.Formatter
- Check if a Java Array Contains a Value
- How to Invert an Array in Java
- Guide to the Cipher Class
- A Guide to Java Initialization
- Implementing a Binary Tree in Java
- A Guide to ThreadLocalRandom in Java
- Nested Classes in Java
- A Guide to Java Loops
- Varargs in Java
- A Guide to Inner Interfaces in Java
- Polymorphism in Java
- Recursion In Java
- A Guide to the finalize Method in Java
- Compiling Java *.class Files with javac
- Method Overloading and Overriding in Java
- Guide to ThreadLocalRandom in Java
- A Guide to Iterator in Java
- The Trie Data Structure in Java
- Introduction to Javadoc
- How to Make a Deep Copy of an Object in Java
- Guide to Inheritance in Java
- Guide to Externalizable Interface in Java
- Object Type Casting in Java
- A Practical Guide to DecimalFormat
- How to Detect the OS Using Java
- ASCII Art in Java
- Inheritance and Composition (Is-a vs Has-a relationship) in Java
- Finding Max/Min of a List or Collection
- The "final" Keyword in Java
- What is the serialVersionUID?
- A Guide To UDP In Java
- A Guide to the Java LinkedList
- A Guide to Java Enums
- A Guide to the ResourceBundle
- Quick Guide to java.lang.System
- Class Loaders in Java
- Find Sum and Average in a Java Array
- Java List UnsupportedOperationException
- Type Erasure in Java Explained
- Join and Split Arrays and Collections in Java
- Check If Two Lists are Equal in Java
- Sending Emails with Java
- Introduction to SSL in Java
- Java KeyStore API
- Double-Checked Locking with Singleton
- Guide to Java Clock Class
- Infinite Loops in Java
- Using Java Assertions
- Pass-By-Value as a Parameter Passing Mechanism in Java
- Variable and Method Hiding in Java
- Access Modifiers in Java
- Infinite Loops in Java
- Introduction to Creational Design Patterns
- Proxy, Decorator, Adapter and Bridge Patterns
- Singletons in Java
- Flyweight Pattern in Java
- The Observer Pattern in Java
- Service Locator Pattern
- The Thread.join() Method in Java
- Guide to the super Java Keyword
- Guide to the this Java Keyword
- Jagged Arrays In Java
- Importance of Main Manifest Attribute in a Self-Executing JAR
- How to Get the File Extension of a File in Java
- Immutable Objects in Java
- Console I/O in Java
- Guide to the java.util.Arrays Class
- Create a Custom Exception in Java
- Java Global Exception Handler
- Encrypting and Decrypting Files in Java
- How to Get the Size of an Object in Java
- Exception Handling in Java
- Guide to Java Instrumentation
- Getting a File’s Mime Type in Java
- Common Java Exceptions
- Java Constructors vs Static Factory Methods
- Differences Between Final, Finally and Finalize in Java
- Static and Dynamic Binding in Java
- Java List Initialization in One Line
- Difference Between Throw and Throws in Java
- ClassCastException: Arrays$ArrayList cannot be cast to ArrayList
- Throw Exception in Optional in Java 8
- Add a Character to a String at a Given Position
- Synthetic Constructs in Java