I have a view param object to which I'm assigning key : value pairs in a script but I want to preserve the order in which the key : value were assigned like in orderedDict in python.
Is there a possible way of implementing this?
No, the underlying java object is unordered.
Why, as a matter of interest?
I have a perspective table in which I can make some selections. I want to store the selections in a parameter so that I can display it in a label. Also, I want to remove values when I unselect from the table. I was thinking of using an object instead or an array so that I can do the removal faster, but it does not preserve the order.
Can you not use the selection properties built into the perspective table?
I doubt you'd see any difference