Posted on June 2, 2008 by Subin
Can a Hashtable have a “null” key? Can a TreeSet hold a null? Confused?
Check the following table to know whether different data structures support null or not.
Collection Key Value
HashMap Yes [...]
Filed under: Advanced Java, Data Structures, Performance, Tips | No Comments »
Posted on November 13, 2007 by Subin
When I came back to my hectic days of work after my long holiday break (hope you guys know what ”a ten day break” means to we IT people), I heard about Android, the open handset project. I have been to mobile app world for quite some time and it thrilled me a bit. I am [...]
Filed under: Advanced Java, Design, Development Tools, Downloads, Mobility (J2ME & more), Technology, What's New ! | Tagged: acquisitions, android, Google, mobile | No Comments »
Posted on October 9, 2007 by Subin
Today while surfing the net I found this article in Sun’s website. I thought this will be useful to some of us. According to the web site, LRWP is,
“The Long Running Web Process (LRWP) is a protocol used by a web server to communicate with its peers. LRWP is similar to CGI, but faster, since [...]
Filed under: Advanced Java, Articles, Web, What's New ! | Tagged: java, server, sun, Web | No Comments »
Posted on September 14, 2007 by Subin
StringBuffer vs String
As we all know both String & StringBuffer are used to hold string (character sequence) values. The basic & the most important difference between the objects being created using String & StringBuffer : objects of String are immutable (means, no one can change it); but the objects created using StringBuffer are mutable. Consider [...]
Filed under: Advanced Java, Articles, Data Structures, Design, JVM & ByteCode, Performance, Tips | No Comments »
Posted on September 13, 2007 by Subin
When, where & how to use Vector & ArrayList
Even though both Vector & ArrayList are used for the same purpose - as a dynamic collection of related objects - there is a right time and place to use them. As we all know there is a major difference: Vector is thread-safe but ArrayList is not. [...]
Filed under: Advanced Java, Articles, Data Structures, Design, Performance, Tips | No Comments »