Java : Setting the value inside a Object after extracting through StringTokenizer
<p>After extracting the value through the StringTokenizer , i need to create a the ListData Object with the Extracted Field .</p>

<p>Please see the code below </p>

<pre><code>String LIST" ="one , two , three , four , five , six , seven , eight , nine , ten "  ;
StringTokenizer iTk = new StringTokenizer(LIST, ",");
while (iTk.hasMoreTokens()) {
    String itemToken = iTk.nextToken();
    String value = PowerQuote.getItem(itemToken);  // This Method will return a value Which i need to set in the respective fields of  listData
    ListData listdata = new ListData(); // Once i create the Object here , how can i set the values into it ??
    listdata.one = 
}

class ListData {
    String one;
    String two;
    String three ;
    String four ;
    String five ;
    String six ;
    String seven ;
    String eight ;
    String nine ;
    String ten ;
}
</code></pre>
