#Required type is 'capture of ?', provided one is 'capture of ?'. Still doesn't work
12 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @tawdry sluice! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Yeah, you can't give unknown type to something that doesn't know what type it accepts
That would be much more enjoyable in real life than in Java, mind
so can I not have a Map<String, ?> as a method parameter?
and if not, what solution would you recommend?
Oh I guess I could pass it as a Map<String, Object>
Not sure what you're asking. You cannot add any value to a Map<String, ?>
You can pass it as parameter as much as you want
thanks for the help!
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.