Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1377

Groovy - Set Data Structure Shows Unexpected Effects?

$
0
0

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 :
grafik

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

Read full topic


Viewing all articles
Browse latest Browse all 1377

Trending Articles