Hi all --
Is the following possible?
ArrayList list = new ArrayList();
list.add(new double[{value1, value2, value3}]);
I can't find a good example on the net and I can't seem to get the syntax
right. Basically, I want to insert in the array list an array of doubles.
Is that possible in a compact form? What would be the best syntax for this
operation?
Thanks, Chris
Thomas Fritsch - 28 Aug 2006 01:35 GMT
> ArrayList list = new ArrayList();
>
> list.add(new double[{value1, value2, value3}]);
list.add(new double[] {value1, value2, value3});
> I can't find a good example on the net and I can't seem to get the syntax
> right. Basically, I want to insert in the array list an array of doubles.
> Is that possible in a compact form? What would be the best syntax for
> this
> operation?

Signature
Thomas