> What does the three dots after string mean?
>
[quoted text clipped - 5 lines]
>
> Thanks,
The three dots means its a varargs method, it can take zero or more
ItemLookupRequest objects...
By "it is wrong", do you mean it doesn't do what you expect, or that you
get a compiler error? Copy and paste the exact error you're getting.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Ming - 21 Nov 2007 23:14 GMT
Thanks for reply.
It is a compiler error
Thanks for reply.
Code snippet:
AmazonECS service = new AmazonECSQuery(accessKeyId, associateTag);
...
ItemLookupRequest request=new ItemLookupRequest();
...
ItemLookupResponse response = service.itemLookup(request);
Eclipse complains that
The method itemLookup(ItemLookupRequest...) in the type AmazonECS is
not applicable for the arguments (ItemLookupRequest) Test/src/com/
amazon/webservices/test AWSTest.java
Thanks,
On Nov 21, 3:08 pm, Daniel Pitts
<newsgroup.spamfil...@virtualinfinity.net> wrote:
> > What does the three dots after string mean?
>
[quoted text clipped - 14 lines]
> --
> Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
Daniel Pitts - 22 Nov 2007 00:07 GMT
> On Nov 21, 3:08 pm, Daniel Pitts
> <newsgroup.spamfil...@virtualinfinity.net> wrote:
[quoted text clipped - 33 lines]
>
> Thanks,
Please don't top post in the future.
What version of Java are you using? Try compiling it, and paste the
*exact* message.

Signature
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
>I pass an ItemLookupRequest object to the method and it is wrong. What
>does the three dots mean?
see http://mindprod.com/jgloss/dotdotdot.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
ricardorq85@gmail.com - 22 Nov 2007 16:03 GMT
Maybe your method is overloaded.
May you show the entire source?
Roedy Green ha escrito:
> >I pass an ItemLookupRequest object to the method and it is wrong. What
> >does the three dots mean?
[quoted text clipped - 4 lines]
> The Java Glossary
> http://mindprod.com