Core Java
-
Closing 2013 with Core Java Posts
As 2013 starts drawing to a close, I have recently spotted several posts related to what I consider “core Java”…
Read More » -
java.util.Random in Java 8
One of the neat features of java.util.Random class in Java 8 is that it has been retrofitted to now return…
Read More » -
Setup your Java development environment in your new Mac in 10 minutes (updated)
This is just a small update post that references 2 older entries ( a, b) , I just combine them…
Read More » -
RxJava: From Future to Observable
I first came across Reactive Extensions about 4 years ago on Matthew Podwysocki’s blog but then haven’t heard much about…
Read More » -
How to write one of the fastest expression evaluators in Java
Granted, the title is a bit of an attention grabber, but nevertheless true (You course you never trust a benchmark…
Read More » -
An Annotation Nightmare
@XmlElementWrapper(name="orders") @XmlJavaTypeAdapter(OrderJaxbAdapter.class) @XmlElements({ @XmlElement(name="order_2",type=Order2.class), @XmlElement(name="old_order",type=OldOrder.class) }) @JsonIgnore @JsonProperty @NotNull…
Read More » -
Memory leaks and memory management in Java applications
One of the more prominent features of the Java platform is its automatic memory management. Many people translate this feature…
Read More » -
Determining Presence of Characters or Integers in String with Guava CharMatcher and Apache Commons Lang StringUtils
A recent Reddit post asked the question, “Is there a predefined method for checking if a variable value contains a…
Read More » -
Introduction To JUnit Theories
Have you ever read a mathematical theory? It typically reads something like this: For all a, b > 0 the…
Read More »