Nasir Khan

9 articles

Case for Preprocessing Capabilities in the Java Language

Java implementation does not have a preprocessor. In this article, we have described what a preprocessor does and what Java offers as a substitute....

Using Unicode Order to Create Data Aware Alphanumeric Search Trees

Trees are one of the most commonly used data structures in software engineering. They are also probably most fascinating of all. In this article,...

Exceptions: The Missing Link Arrives for Java

A robust program is one that is aware of potential pitfalls and has ways and means to recover from them. These pitfalls could be...

Understanding Java Multithreading and Read-Write Locks, Part 2

Review Part 1 Now for the releaseReadLock() method. synchronized public void releaseReadLock() { readers --; ...

Understanding Java Multithreading and Read-Write Locks, Part 1

There's a lot of misunderstanding about the concepts related to multithreading in the developer community. I must say that some of this misunderstanding is...

Some Insight Into Inner Classes in Java, Part 2

Review Part 1 In the first half of this article, we began examining the benefits of inner classes, such as adding a "facet" to the...

Some Insight Into Inner Classes in Java, Part 1

Inner classes are essentially classes defined inside other classes and act like members of the enclosing class. There are two varieties of inner classes,...

Make Use of Reflection API to Write Dynamically Pluggable Code

A class, as we understand it, is basically a "capability set," an entity type that agrees to abide by a contract of what it...

Creating a Spin Control in Java

We are all aware of the spin control that just shows one value in a text field and has two buttons having an up...

Make sure to follow Developer.com on Social Media