u can retrive data from Rowld key
what u do is

  RelaDetails r =  (RelaDetails) tmpTable.get(Rowld);
 if( r==null) it means there is no such a key.
otherwise  everything is in r.


----- Original Message -----
From: Howard Hiew <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 10:33 AM
Subject: HashTable


> Hi,
> I am a beginner,
> I have a question regarding retrieving data from a hashtable.
>
> Following is the way that im using to store data...
> //
> Hashtable tmpTable =new Hashtable();
> RelaDetails relation=new RelaDetails(RowId,Obj1,Col1,Obj2,Col2,JType);
> tmpTable.put(RowId, relation);
> //
> How to retrieve the data for RowId, Obj1, Col1  ....and so on??
> Thank you
>
>
> Best Regards,
> Howard
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to