-Ursprüngliche Nachricht-
Von: Michael Thompson [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. August 2003 01:08
An: Struts Users Mailing List
Betreff: Re: Quick Java question..
Or wait till 1.5 ;)
http://developer.java.sun.com/developer/community/chat/JavaLive/2003/jl0
729.html
*Neal
Well, the number of arguments is part of the method signature. In your case a dynamic
object would be ideal, and if you don't want to use an array you could ever use a
Collection, which offers the add(Object element), remove(Object element) methods, thus
allowing for dynamicity. The Collection
sorry, dude, but param arguments are evaluated at compile time. The best
you could do is overload the method.
Mark
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 6:00 PM
To: Struts Mailing List
Subject: Quick Java question..
Hey as
: Thursday, August 21, 2003 6:51 PM
To: 'Struts Users Mailing List'
Subject: RE: Quick Java question..
sorry, dude, but param arguments are evaluated at compile time. The
best
you could do is overload the method.
Mark
-Original Message-
From: David Erickson [mailto:[EMAIL
of what element is what.
Maybe Java 1.5 will have the feature you are looking for :-)
Alex.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 6:51 PM
To: 'Struts Users Mailing List'
Subject: RE: Quick Java question..
sorry, dude, but param
5 matches
Mail list logo