30b439458e
* added example code and unit test for GlobalExceptionHandler * Code for common exceptions |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
README.md | ||
customers.xml | ||
externalizable.txt | ||
pom.xml | ||
yofile.txt | ||
yofile2.txt |
README.md
=========
Core Java Cookbooks and Examples
Relevant Articles:
- Java – Random Long, Float, Integer and Double
- Java – Generate Random String
- Java Timer
- How to Run a Shell Command in Java
- MD5 Hashing in Java
- Guide to Java Reflection
- A Guide to Java Sockets
- Convert char to String in Java
- Convert String to int or Integer in Java
- Java – Try with Resources
- Guide to the Fork/Join Framework in Java
- How to Print Screen in Java
- How to Convert String to different data types 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
- Spring Security – Cache Control Headers
- 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
- Using Math.pow in Java
- Converting Strings to Enums in Java
- Quick Guide to the Java StringTokenizer
- JVM Log Forging
- Guide to sun.misc.Unsafe
- How to Perform a Simple HTTP Request in Java
- Call Methods at Runtime Using Java Reflection
- Guide to UUID in JAVA
- How to Add a Single Element to a Stream
- Iterating Over Enum Values in Java
- Kotlin Java Interoperability
- How to Round a Number to N Decimal Places in Java
- 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
- Introduction to JDBC
- Period and Duration in Java
- Converting a Stack Trace to a String in Java
- Count Occurrences of a Char in a String
- Java Double Brace Initialization
- The StackOverflowError in Java
- Split a String in Java
- Introduction to Java Serialization
- How to Remove the Last Character of a String?
- 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
- CharSequence vs. String in Java
- Period and Duration in Java
- Guide to the Diamond Operator in Java
- “Sneaky Throws” in Java
- OutOfMemoryError: GC Overhead Limit Exceeded
- StringBuilder and StringBuffer in Java
- Number of Digits in an Integer in Java
- Creating a Java Compiler Plugin
- A Guide to the Static Keyword in Java
- Initializing Arrays in Java
- Guide to Java String Pool
- Quick Example - Comparator vs Comparable in Java
- Quick Guide to Java Stack
- The Java continue and break Keywords
- Guide to java.util.Formatter
- Batch Processing in JDBC
- 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
- RegEx for matching Date Pattern in Java
- Introduction to the JDBC RowSet Interface 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
- Check if a String is a Palindrome
- Comparing Strings 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
- An Advanced Tagging Implementation with JPA
- Handling Daylight Savings Time 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
- BigDecimal and BigInteger in Java
- Display All Time Zones With GMT And UTC in Java
- 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
- Check If a String Is Numeric in Java
- Variable and Method Hiding in Java
- Access Modifiers in Java
- NaN in Java
- Infinite Loops in Java
- Why Use char[] Array Over a String for Storing Passwords 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
- Extracting Year, Month and Day from Date in Java
- Get Date Without Time in Java
- Convert a String to Title Case
- How to Get the File Extension of a File in Java
- Immutable Objects in Java