title: list of strings to list of doubles java
body: <p>I have a data file containing a combination of doubles and strings like this:</p>
  
  <pre><code>Rmax=2.3
  Rmin=1.0
  </code></pre>
  
  <p>etc. </p>
  
  <p>I'm using split() to cut out the = like this:</p>
  
  <pre><code>while ((strLine = br.readLine()) != null) {
              String phrase = strLine;                
              try {
                  //splits to variable name, value
                  String[] parsed = phrase.split("[=]");                      
                  int parsed[0].toString() = parsed[1];
  
              } catch (PatternSyntaxException e) {
                  System.out.println("Error: " + e.getMessage());
              }
          }
  </code></pre>
  
  <p>Now i'm trying to get the values initialized so that parsed[0] becomes the name of the integer and parsed[1] becomes the value. equivalent to the initializer 
  int name = value; </p>
  
  <p>obviously the line </p>
  
  <pre><code>int parsed[0].toString() = parsed[1]; 
  </code></pre>
  
  <p>doesn't work. how do i go about doing this?</p>