Calculate Root of Any Whole Number in Java

The following Java program can find any root of a whole number. The logic is simple. Start by guessing some number and check if that is the correct value. If that overshoots then subtract some from the guess number else add to it. We added or subtracted some fixed constant. If that constant is too [...]

Java subList() gotcha.

Netbeans-Duke

Recently I stumbled upon an issue of stuck thread. The thread seemed to be stuck with stack trace something like the one below:- My initial reaction was – huh?! Well googling revealed a blog post related to this issue – Java subList Gotcha. Ya I too have used the same title, as it seems to [...]

Struts 1 config file reference documentation

This documentation is just a copy paste of portions of official Struts DTD. As I couldn’t find any easy to find reference on it hence I have put together this just to be easily locatable. The values in [] are default values for that attribute. Top Level Elements:- <struts-config> (the root of the configuration file [...]

jDCBot nearing its finale – The 1.0 milestone

The open source project DC client framework jDCBot (http://jdcbot.sourceforge.net) I have been working on is now nearing its 1.0 milestone. Version 1.0 means that it will have all the required features that a DC client framework should have, like – managing shared files, hashing them, creating file lists, queuing downloads and resuming them when the [...]

Get my Javadoc StyleSheet – Red N Black Theme

I recentry created the brand new site for jDCBot (http://jdcbot.sourceforge.net ). For the Javadoc section I wanted the Javadoc to match the site’s red and black theme. Below is its screenshot. Click on it for a better view, or even better visit jDCBot’s site (link is above) and goto to the Javadoc section. Well anyway, [...]

Page optimized by WP Minify WordPress Plugin