Hi Jose,
    As for as my personal opinion, you are correct.  Though Hashtable
 occupies lot of memory, the flexibility of having that is , searching can
be
 done very easily.  You can remove the elements,add the elements very
easily.

> ----- Original Message -----
> From: Jose Antonio Lamas <[EMAIL PROTECTED]>
> To: Advanced-Swing <[EMAIL PROTECTED]>
> Sent: Tuesday, July 24, 2001 2:00 PM
> Subject: Array, Vector or Hashtable to keep the table's data model ?
>
>
> > Hi,
> >
> > I have used Array, Vector and Hashtable to keep the table's data model,
> but
> > I have a question/comment.
> >
> > Which is the best alternative? The two objetives are speed and ease of
> use.
> >
> > I think:
> >
> > -- PROS--
> >  Array is fast and easy.
> >  Vector has a variable size.
> >  Hashtable is fast (is Array faster than Hashtable?).
> >
> > -- CONS --
> >  Array has a fixed length.
> >  Vector is not very fast (because of castings) and not so easy.
> >  Hashtable is not so easy as Array.
> >
> >
> > Am I correct?
> >
> > Thank you for your collaboration.
> >
> > _______________________________________________
> > Advanced-swing mailing list
> > [EMAIL PROTECTED]
> > http://eos.dk/mailman/listinfo/advanced-swing
>

The Information contained and transmitted by this E-MAIL is proprietary to Wipro 
Limited and is intended for use
only by the individual or entity to which it is addressed, and may contain information 
that is privileged,
confidential or exempt from disclosure under applicable law. If this is a forwarded 
message, the content of this
E-MAIL may not have been sent with the authority of the Company. If you are not the 
intended recipient, an agent
of the intended recipient or a  person responsible for delivering the information to 
the named recipient,  you are
notified that any use, distribution, transmission, printing, copying or dissemination 
of this information in any way
or in any manner is strictly prohibited. If you have received this communication in 
error, please delete this mail &
notify us immediately at [EMAIL PROTECTED]

Reply via email to