Implementing Java.util.concurrent.ArrayBlockingQueue

java.util.concurrent.ArrayBlockingQueue (j.u.c.ArrayBlockingQueue from here on) provides an elegant solution to the classic producer-consumer problem. To understand its internals, the post implements the data structure from-scratch and step-by-step, using… Read more

Similar

The Arrival of Java 14

The arrival of Java 14! <a href="https://twitter.com/OpenJDK" target="_blank">Follow OpenJDK on Twitter</a> <a href="https://jdk.java.net/14/" target="_blank">Download Oracle OpenJDK</a> <a href="https://oracle.com/javadownload"... (more…)

Read more »

Java.util.Dictionary Class

Java.util package provides a Dictionary class which is the abstract parent of any class, such as Hashtable, which maps keys to values. Every key and every value is an object. In any one Dictionary object, every key is associated with at most one value. Gi... (more…)

Read more »