Core Java
-
Simplicity and Value of HotSpot’s -XshowSettings Flag
A handy HotSpot JVM flag (option for the Java launcher java) is the -XshowSettings option. This option is described in…
Read More » -
C code always runs way faster than Java, right? Wrong!
So we all know the prejudice that Java being interpreted is slow and that C being compiled and optimized runs…
Read More » -
Improved Documentation of HotSpot Options in Java 8
One of the small but welcome features introduced with Oracle’s HotSpot implementation of Java 8 is the addition of many…
Read More » -
Creating proxy object using djcproxy
During the last weeks I have shown how to create a proxy object using Java reflection API and cglib. In…
Read More » -
Beware Of findFirst() And findAny()
After filtering a Java 8 Stream it is common to use findFirst() or findAny() to get the element that survived…
Read More » -
Creating a proxy object using cglib
In the previous post I was talking about the standard Java based proxy objects. These can be used when you…
Read More » -
How to Pattern-Match Files and Display Adjacent Lines in Java
Recently, we’ve published our article about the awesome window function support in jOOλ 0.9.9, which I believe is some of…
Read More » -
Java Dynamic Proxy
Proxy is a design pattern. We create and use proxy objects when we want to add or modify some functionality…
Read More » -
9 differences between Array and ArrayList in Java
Both array and ArrayList are two important data structures in Java and are frequently used in Java programs. Even though…
Read More »