Nasir Khan
9 articles
Java
Case for Preprocessing Capabilities in the Java Language
Nasir Khan - 0
Java implementation does not have a preprocessor. In this article, we have described what a preprocessor does and what Java offers as a substitute....
Data & Java
Using Unicode Order to Create Data Aware Alphanumeric Search Trees
Nasir Khan - 0
Trees are one of the most commonly used data structures in software engineering. They are also probably most fascinating of all. In this article,...
Java
Exceptions: The Missing Link Arrives for Java
Nasir Khan - 0
A robust program is one that is aware of potential pitfalls and has ways and means to recover from them. These pitfalls could be...
Enterprise Java
Understanding Java Multithreading and Read-Write Locks, Part 2
Nasir Khan - 0
Review Part 1
Now for the releaseReadLock() method.
synchronized public void releaseReadLock() {
readers --;
...
Enterprise Java
Understanding Java Multithreading and Read-Write Locks, Part 1
Nasir Khan - 0
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...
Enterprise Java
Some Insight Into Inner Classes in Java, Part 2
Nasir Khan - 0
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...
Enterprise Java
Some Insight Into Inner Classes in Java, Part 1
Nasir Khan - 0
Inner classes are essentially classes defined inside other classes and act like members of the enclosing class. There are two varieties of inner classes,...
Enterprise Java
Make Use of Reflection API to Write Dynamically Pluggable Code
Nasir Khan - 0
A class, as we understand it, is basically a "capability set," an entity type that agrees to abide by a contract of what it...
Guides
Creating a Spin Control in Java
Nasir Khan - 0
We are all aware of the spin control that just shows one value in a text field and has two buttons having an up...