Hello,
I’ve been trying for the past 30 minutes to make a set make work in Groovy, but unexpected effects seem to happen. Refer to pictures provided below :
Output:
So first of all, the Set - Data Structure doesn’t seem to automatically ignore duplicates, and secondly, even with considering that the Set doesn’t ignore duplicates, the output obviously doesn’t reflect that.
Is the way I use the Groovy - API wrong or is this an issue with Groovy itself ?
6 posts - 2 participants