<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java code new ArrayList&amp;lt;String&amp;gt; having errors while compiling.... in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196717#M752</link>
    <description>&lt;P&gt;hey uzix thanks for the reply , this issue got resloved .&lt;BR /&gt;the import was available but some how it was not working ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;java.util.List&amp;lt;String&amp;gt; output = new java.util.ArrayList&amp;lt;String&amp;gt;(); in the code which worked fine for me&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2020 10:54:44 GMT</pubDate>
    <dc:creator>Sudhee_Maximus</dc:creator>
    <dc:date>2020-02-12T10:54:44Z</dc:date>
    <item>
      <title>Java code new ArrayList&lt;String&gt; having errors while compiling....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196715#M750</link>
      <description>&lt;P&gt;Hi Friends ,&lt;/P&gt;
&lt;P&gt;I have below code in tjavarow written and it throws error at new ArrayList which works fine in eclipse ...&lt;BR /&gt;&lt;BR /&gt;my requirement is to create json structure with in java for each array element and put it in to an json array structure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;String str = input_row.Lang_Str;&lt;BR /&gt;String[] array = str.split("\"\"");&lt;BR /&gt;//String[] output = new String[array.length];&lt;BR /&gt;List&amp;lt;String&amp;gt; output = new ArrayList&amp;lt;String&amp;gt;();&lt;BR /&gt;for(int i=0; i&amp;lt;array.length; i++) {&lt;BR /&gt;String sqlString = "languageTypeCd:"+array[i]+",providerSpeaksInd:null";&lt;BR /&gt;output.add(sqlString);&lt;BR /&gt;}&lt;BR /&gt;String finalString = "";&lt;BR /&gt;for (String string : output) {&lt;BR /&gt;if(finalString.equals("")) {&lt;BR /&gt;finalString = finalString + string;&lt;BR /&gt;}&lt;BR /&gt;else {&lt;BR /&gt;finalString = finalString +","+ string;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;System.out.println(finalString);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;output_row.Len = input_row.Len;&lt;BR /&gt;output_row.Lang_Str = finalString;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196715#M750</guid>
      <dc:creator>Sudhee_Maximus</dc:creator>
      <dc:date>2020-02-10T15:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Java code new ArrayList&lt;String&gt; having errors while compiling....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196716#M751</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in tjavarow , you have declared&amp;nbsp; the import ?&lt;/P&gt;
&lt;P&gt;-&amp;gt;tjavarow&amp;nbsp; &amp;gt; advanced settings&lt;/P&gt;
&lt;P&gt;import java.util.ArrayList;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 10:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196716#M751</guid>
      <dc:creator>uzix</dc:creator>
      <dc:date>2020-02-12T10:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Java code new ArrayList&lt;String&gt; having errors while compiling....</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196717#M752</link>
      <description>&lt;P&gt;hey uzix thanks for the reply , this issue got resloved .&lt;BR /&gt;the import was available but some how it was not working ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;java.util.List&amp;lt;String&amp;gt; output = new java.util.ArrayList&amp;lt;String&amp;gt;(); in the code which worked fine for me&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; .&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 10:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-code-new-ArrayList-lt-String-gt-having-errors-while/m-p/2196717#M752</guid>
      <dc:creator>Sudhee_Maximus</dc:creator>
      <dc:date>2020-02-12T10:54:44Z</dc:date>
    </item>
  </channel>
</rss>

