Core Java
-
How much memory do I need
What is retained heap? How much memory will I need? This is a question you might have asked yourself (or…
Read More » -
When using direct memory can be faster
Overview Using direct memory is no guarantee of improving performance. Given it adds complexity, it should be avoided unless you…
Read More » -
Type-safe Empty Collections in Java
I have blogged before on the utility of the Java Collections class and have specifically blogged on Using Collections Methods…
Read More » -
Working Efficiently with JUnit in Eclipse
Recently I was dragged into a discussion1 with some test infected2 fellows about how we use JUnit within the Eclipse…
Read More » -
Google Guava EventBus for Event Programming
It’s a given in any software application there are objects that need to share information in order to get work…
Read More » -
Guava’s Collections2: Filtering and Transforming Java Collections
One of the conveniences of Groovy is the ability to easily perform filtering and transformation operations on collections via Groovy’s…
Read More » -
Guava’s Objects Class: Equals, HashCode, and ToString
If you are fortunate enough to be using JDK 7, the newly available Objects class is the obvious (at least…
Read More » -
Java Heap Dump: Are you up to the task?
If you are as much enthusiasm as I am on Java performance, heap dump analysis should not be a mystery…
Read More » -
Guava Preconditions Class
Anyone who’s written much Java has probably written methods that begin with conditionals that verify either the provided parameters or…
Read More »