A
Andreas Leitgeb
Is there any standard-library method, that would take an
Integer[] or Collection<Integer>, and give me an int[] ?
I'd need the int[] for some external interface.
If "do it yourself" is the only answer, then there's no
need to elaborate on that. I do know how to do it myself.
I just wouldn't want to reinvent a wheel.
PS:
It would, of course, generally have to deal with
null-values, but not in my case: it's a null-free
Collection.
Integer[] or Collection<Integer>, and give me an int[] ?
I'd need the int[] for some external interface.
If "do it yourself" is the only answer, then there's no
need to elaborate on that. I do know how to do it myself.
I just wouldn't want to reinvent a wheel.
PS:
It would, of course, generally have to deal with
null-values, but not in my case: it's a null-free
Collection.