Add key/value pair to java.util.List in java 2005-05-02 - By vijay gopinath
Back I am Testing one of my application , and i need to pass a List , to a function .Now as the method signature , does have a list , usually in the program , a list gets passed .In order to unit test my code , what do i do ? But i have come up with another solution right now , for this issue , and seems to be fixed . Thank you for all answers . But still , can key/value pairs be repsted using lists ???? I think not .
Thanks ,
Vijay
arun <ajassiar@(protected)> wrote: can u explain wat is your purpose of doing that,
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE -INTEREST@(protected)]On Behalf Of vijay gopinath Sent: Monday, May 02, 2005 7:34 PM To: J2EE-INTEREST@(protected) Subject: Add key/value pair to java.util.List in java
Hi All,
Could anyone please let me know , how I could add a key/value pair into a List , in java.
TIA,
Vijay
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ========================================================= ================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) .sun.com and include in the body of the message "help".
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
<DIV>I am Testing one of my application , and i need to pass a List , to a function .Now as the method signature , does have a list , usually in the program , a list gets passed .In order to unit test my code , what do i do ? But i have come up with another solution right now , for this issue , and seems to be fixed .</DIV> <DIV>Thank you for all answers .</DIV> <DIV>But still , can key/value pairs be repsted using lists ???? I think not .< /DIV> <DIV> </DIV> <DIV>Thanks ,</DIV> <DIV> </DIV> <DIV>Vijay<BR><BR><B><I>arun <ajassiar@(protected)></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER -LEFT: #1010ff 2px solid"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <DIV><SPAN class=781542814-02052005><FONT face=Arial color=#0000ff size=2>can u explain wat is your purpose of doing that, </FONT></SPAN></DIV> <DIV><SPAN class=781542814-02052005></SPAN> </DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>--- --Original Message-- --<BR><B>From:</B> A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)]<B>On Behalf Of </B>vijay gopinath<BR><B>Sent:</B> Monday, May 02, 2005 7:34 PM<BR><B>To:</B> J2EE -INTEREST@(protected)<BR><B>Subject:</B> Add key/value pair to java.util.List in java<BR><BR></FONT></DIV> <DIV>Hi All,</DIV> <DIV> </DIV> <DIV>Could anyone please let me know , how I could add a key/value pair into a List , in java.</DIV> <DIV> </DIV> <DIV>TIA,</DIV> <DIV> </DIV> <DIV>Vijay</DIV> <DIV> </DIV> <P>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<BR>Do You Yahoo!?<BR >Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail .yahoo.com ===================================================================== ====== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <P></P></BLOCKQUOTE>=========================================================== ================ To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <P></P></BLOCKQUOTE><p>__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com =========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". <p>
|
|