How to pass params into script as HashSet

I want to pass params in my script function as HashSet for fast contains check with complexity O(1).
As I know, standart params list is ArrayList.
How can I do this?
Can I use ScriptEngine java?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.