I'm using a function (which I don't own so can't change its return type) that returns a double[]
I'm trying to create a java.util.List<java.lang.Double>
from it.
If only the function returned a Double[]
, then I could use Arrays.asList(...)
but that doesn't work for double[]
.
Am I missing something simple here?