<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Java collections in ivyScript</title><link>https://answers.axonivy.com/questions/333/java-collections-in-ivyscript</link><description>&lt;p&gt;I have multiple lists which I combine into one and then have to remove duplicated entries. This in ivyScript. In Java I would use &lt;code&gt;ArrayList&lt;/code&gt; for the lists, copy them into a &lt;code&gt;HashSet&lt;/code&gt; to remove the duplicates. &lt;/p&gt;
&lt;p&gt;But I thin I cannot use HashSet in ivyScript and as well the casting of ArrayList does not seem to work as expected. &lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/333/java-collections-in-ivyscript" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 25 Feb 2010 02:48:58 -0500</lastBuildDate><item><title>Answer by Benedict Groppe</title><link>https://answers.axonivy.com/questions/333/java-collections-in-ivyscript/334</link><description>&lt;p&gt;You can use these classes directly in ivyScript Just assign them to a ivyScript &lt;code&gt;List&lt;/code&gt; and you can use it. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benedict Groppe</dc:creator><pubDate>Thu, 25 Feb 2010 02:48:58 -0500</pubDate><guid>https://answers.axonivy.com/questions/333/java-collections-in-ivyscript/334</guid></item></channel></rss>