Re: Quick Question - Array Declaration



"Christopher Smith" <csmith@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
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?

--
Thomas


.



Relevant Pages

  • Quick Question - Array Declaration
    ... 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 ... I want to insert in the array list an array of doubles. ... Is that possible in a compact form? ...
    (comp.lang.java.help)
  • Re: Lisp at sexps length
    ... as Thomas points out. ... in the context of the data structure that is being built for the ... it is prefix syntax because the description comes ... > Common Lisp require that keyword argument markers be keyword SYMBOLS. ...
    (comp.lang.lisp)
  • Re: Steuerung von Eigenschaften im Unterformular
    ... Wie Thomas schon schrieb, das Tab-Control oder dessen ... auf 2 verschiedenen Seiten ein Steuerelement gleichen Namens ... Folgende Syntax liefert keinen Fehler: ... Auf der Seite5 liegt das Formular ...
    (microsoft.public.de.access)
  • Re: Script
    ... Thomas wrote: ... I have created a .bat file and used the following syntax ... sysvol netlogon folder on the server and when the user logs on it does not ...
    (microsoft.public.scripting.vbscript)
  • Umleitung von Standard-Output und Error-Output in dieselbe Datei?
    ... bei einem xcopy-Befehl) in dieselbe Datei umleiten? ... Wie lautet die Syntax dafür? ... Thomas ...
    (microsoft.public.de.german.windowsxp.sonstiges)