Java API: Passing a collection as generic varargs #5645
Answered
by
wintersteiger
zhangwen0411
asked this question in
Q&A
-
I have a
but Java doesn't allow me to create an Is there a good way to call |
Beta Was this translation helpful? Give feedback.
Answered by
wintersteiger
Nov 3, 2021
Replies: 1 comment 1 reply
-
I haven't touched an Java stuff in a while, buy what about |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zhangwen0411
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I haven't touched an Java stuff in a while, buy what about
ArrayList::toArray()
?