Core Java
-
Java Intrinsics and Performance
The original question was How to count the number of 1’s a number will have in binary? I included a…
Read More » -
Guava’s Strings Class
In the post Checking for Null or Empty or White Space Only String in Java, I demonstrated common approaches in…
Read More » -
Avoiding FORs – Anti-If Campaign
Have you ever wondered how FORs impact your code? How they are limiting your design and more important how they are…
Read More » -
Sandboxing Java Code
In a previous post, we looked at securing mobile Java code. One of the options for doing so is to…
Read More » -
Why Future Generations Will Hate You for Using java.util.Stack
Before I kill you with some meaningless tautology, here is the gist If your application is near real time or…
Read More » -
Java 7: File Filtering using NIO.2 – Part 3
Hello all. This is Part 3 of the File Filtering using NIO.2 series. For those of you who haven’t read Part…
Read More » -
java.lang.ClassNotFoundException: How to resolve
This article is intended for Java beginners currently facing java.lang.ClassNotFoundException challenges. It will provide you with an overview of this…
Read More » -
JUnit4 Parameterized and Theories Examples
I always relied on TestNG to pass parameters to test methods in order to give a bit of flexibility to…
Read More » -
Gang of Four – Proxy Design Pattern
Proxy is another Structural design pattern which works ‘on behalf of’ or ‘in place of’ another object in order to…
Read More »