default set type in Groovy
[code="groovy"]println(([1] as Set).class)[/code]do you know the class of this set. May be you think it's HashSet. The anwser is no, it's LinkedHashSet. That's to say it can keep insert order. I think...
原创
2012-08-09 12:04:28 ·
138 阅读 ·
0 评论