OzoneHashMap

Philip C C <[email protected]>
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
I am in need of 'OzoneHashMap' implementation for for
keeping a medium size collection of objects - that
itself are OzoneObjects.
 
But in ozone1.2, there is no implementation class for
OzoneHashMap interface. So I just tryed to implement
it based on the source 'HashMap.java' from the Sun.
 
My implementation starts like this..
 
public class OzoneHashMapImpl extends AbstractOzoneMap
implements OzoneHashMap {
    static final long serialVersionUID = 1L;   
    ....
    ...
}
 
Later I realized that, using a hashtable based
implementation for an Ozone collection class is not a
good idea because of the difference in inner working
of Ozone and Hashtable and usage of hashtable inside
an OzoneObjects causes scalability and performance
problems. So I left with two options - either use
NodeTreeMapImpl or FullTreeMapImpl. But I don't need
tree features, because I just need a collection class
that is fast in adding and retrieving elements. 
 
 
Is anybody having a better implementation of
'OzoneHashMap' interface ? 
 
If my choices are only NodeTreeMapImpl or
FullTreeMapImpl, which one is better suited for me if
I want to keep a  collection of OzoneObjects (size
vary 100 - 1000)


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.