title: From C++ to Java (ArrayList of Complex numbers)
body: <p>I have a simple question. How can i create by using ArrayList that data structure in Java ?</p>
  
  <pre><code> vector&lt; complex&lt;float&gt; &gt; *v1;
   v1 = new vector&lt; complex&lt;float&gt; &gt;;
  </code></pre>
  
  <p>I tried something like this:</p>
  
  <pre><code>ArrayList&lt; Complex&lt;float&gt; &gt; v1;
  </code></pre>
  
  <p>but dont work :/</p>
  
  <p>(I included 'Apache commons math' jar for complex numbers)</p>