Core Java
-
Java Priority Queue (PriorityQueue) Example
We know that Queue follows First-In-First-Out model but sometimes we need to process the objects in the queue based on…
Read More » -
DSL based approach to input Graph data in graph theory based java programs
Most of us have coded some programs which deal with graph theory algorithms like finding the shortest path between two…
Read More » -
ArrayList Using Memory Mapped File
Introduction In-Memory computing is picking up due to affordable hardware, most of the data is kept in RAM to meet…
Read More » -
5 Coding Hacks to Reduce GC Overhead
In this post we’ll look at five ways in which we can use efficient coding to help our garbage collector…
Read More » -
C++ like Java for low latency
Overview Previously I wrote an article on C like Java. This is term I had come across before. However, on…
Read More » -
Creating External DSLs using ANTLR and Java
In my previous post quite sometime back I had written about Internal DSLs using Java. In the book Domain Specific…
Read More » -
Java Garbage Collection Distilled
Serial, Parallel, Concurrent, CMS, G1, Young Gen, New Gen, Old Gen, Perm Gen, Eden, Tenured, Survivor Spaces, Safepoints, and the…
Read More » -
Java’s Reflection API
If you have ever asked yourself questions like these: – “How do I invoke a method, having only it’s name…
Read More » -
Java 7 try-with-resources
Java 7 provides better resource management for resources that need to be closed when finished working with, for example files,…
Read More »