Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Add key/value pair to java.util.List in java

Add key/value pair to java.util.List in java

2005-05-02       - By vijay gopinath

 Back
Reply:     1     2     3     4     5  

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&nbsp;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>&nbsp;</DIV>
<DIV>Thanks ,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Vijay<BR><BR><B><I>arun &lt;ajassiar@(protected)&gt;</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>&nbsp;</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&nbsp; All,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could anyone please let me know , how I could add a key/value pair into a
List , in java.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Vijay</DIV>
<DIV>&nbsp;</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>

©2008 junlu.com - Jax Systems, LLC, U.S.A.