Java.util.EnumMap Class

Java.util package provides a EnumMap class which is a specialized Map implementation for use with enum type keys. All of the keys in an enum map must come from a single enum type that is specified, explicitly or implicitly, when the map is created. Enum m… Read more

Similar

Java 10 Could Bring Upgraded Lambdas

A new JEP proposes enhancements to lambda functionality, including better disambiguation, use of the underscore for unused parameters, and shadowing of outer variables. Although these changes would bring lambdas in Java closer to other languages', the com...

Read more »

People Who Brought You FOSS Java

Open Source is all about reputations, so in light of today's great annoucement about Sun finally revealing its licensing choice for open source Java, I thought I'd take a few moments to highlight some of the people who have been... (more…)

Read more »

Measuring Time: From Java to Kernel and Back

Problem Statement Even the most basic problems become interesting when you dig deep enough. Today, I would like to do a deep dive into measuring time in Java. We will start with the very basics of the Java API and gradually move lower in our stack: throug... (more…)

Read more »