Users Pricing

forum

home / developersection / forums / converting from <datatype1>[] to <datatype2>[]

Converting from <Datatype1>[] to <Datatype2>[]

Anonymous User 1966 09 Jul 2015
Is it possible to convert from a list of datatypes without going through the trouble of looping through the entire list.

I.e:b = {"1", "2"}; 
Integer[] a = (Integer[]) b; //not actually runnable

Not really necessary, but it would be nice.

I am a content writter !


1 Answers