Questions Tagged With javahttps://answers.axonivy.com/tags/java/?type=rss&user=Benedict%20Groppequestions tagged <span class="tag">java</span>enWed, 24 Feb 2010 09:18:46 -0500Java collections in ivyScripthttps://answers.axonivy.com/questions/333/java-collections-in-ivyscript<p>I have multiple lists which I combine into one and then have to remove duplicated entries. This in ivyScript. In Java I would use <code>ArrayList</code> for the lists, copy them into a <code>HashSet</code> to remove the duplicates. </p> <p>But I thin I cannot use HashSet in ivyScript and as well the casting of ArrayList does not seem to work as expected. </p>Benedict GroppeWed, 24 Feb 2010 09:18:46 -0500https://answers.axonivy.com/questions/333/java-collections-in-ivyscriptivyscriptapijavaHow can I use arrays in ivyScripthttps://answers.axonivy.com/questions/296/how-can-i-use-arrays-in-ivyscript<p>I want to use Java arrays in ivyScript. But if I use <code>myArray[myIndex]</code> then I get an error <code>unexpected token</code>. </p> <p>So, for example how can I do something like: </p> <pre><code>File dir = new File("myPath"); File[] fileList = dir.listFiles(); </code></pre>Benedict GroppeThu, 03 Sep 2009 02:42:03 -0400https://answers.axonivy.com/questions/296/how-can-i-use-arrays-in-ivyscriptivyscriptjava